//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB)
// Reference Implementation, v2.0.2-b01-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the
// source schema.
// Generated on: 2006.10.04 at 03:08:16 PM PDT
//
package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for GBR_Address complex type.
*
* <p>The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType name="GBR_Address">
* <complexContent>
* <extension base="{}Address">
* <sequence>
* <element name="County" type=
* "{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Postcode" type=
* "{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlRootElement(name = "GBR_Address")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GBR_Address", propOrder = {
"county",
"postcode"
})
public class GBRAddress
extends Address
{
@XmlElement(name = "County")
protected String county;
@XmlElement(name = "Postcode")
protected String postcode;
/**
* Gets the value of the county property.
*
* possible object is
* {@link String }
*
*/
public String getCounty() {
return county;
}
/**
* Sets the value of the county property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCounty(String value) {
this.county = value;
}
/**
* Gets the value of the postcode property.
*
* possible object is
* {@link String }
*
*/
public String getPostcode() {
return postcode;
}
/**
* Sets the value of the postcode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostcode(String value) {
this.postcode = value;
}
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(super.toString())
.append("\n ")
.append(this.county)
.append(" ")
.append(this.postcode);
return sb.toString();
}
}