001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.10.04 at 03:08:16 PM PDT
006: //
007:
008: package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
009:
010: import javax.xml.bind.JAXBElement;
011: import javax.xml.bind.annotation.XmlAccessType;
012: import javax.xml.bind.annotation.XmlAccessorType;
013: import javax.xml.bind.annotation.XmlElement;
014: import javax.xml.bind.annotation.XmlRootElement;
015: import javax.xml.bind.annotation.XmlType;
016:
017: /**
018: * <p>Java class for GBR_Address complex type.
019: *
020: * <p>The following schema fragment specifies the expected content contained within this class.
021: *
022: * <pre>
023: * <complexType name="GBR_Address">
024: * <complexContent>
025: * <extension base="{}Address">
026: * <sequence>
027: * <element name="County" type="{http://www.w3.org/2001/XMLSchema}string"/>
028: * <element name="Postcode" type="{http://www.w3.org/2001/XMLSchema}string"/>
029: * </sequence>
030: * </extension>
031: * </complexContent>
032: * </complexType>
033: * </pre>
034: *
035: *
036: */
037: @XmlRootElement(name="GBR_Address")
038: @XmlAccessorType(XmlAccessType.FIELD)
039: @XmlType(name="GBR_Address",propOrder={"county","postcode"})
040: public class GBRAddress extends Address {
041:
042: @XmlElement(name="County")
043: protected String county;
044: @XmlElement(name="Postcode")
045: protected String postcode;
046:
047: /**
048: * Gets the value of the county property.
049: *
050: * @return
051: * possible object is
052: * {@link String }
053: *
054: */
055: public String getCounty() {
056: return county;
057: }
058:
059: /**
060: * Sets the value of the county property.
061: *
062: * @param value
063: * allowed object is
064: * {@link String }
065: *
066: */
067: public void setCounty(String value) {
068: this .county = value;
069: }
070:
071: /**
072: * Gets the value of the postcode property.
073: *
074: * @return
075: * possible object is
076: * {@link String }
077: *
078: */
079: public String getPostcode() {
080: return postcode;
081: }
082:
083: /**
084: * Sets the value of the postcode property.
085: *
086: * @param value
087: * allowed object is
088: * {@link String }
089: *
090: */
091: public void setPostcode(String value) {
092: this .postcode = value;
093: }
094:
095: public String toString() {
096: StringBuffer sb = new StringBuffer();
097: sb.append(super .toString()).append("\n ").append(
098: this .county).append(" ").append(this.postcode);
099: return sb.toString();
100: }
101: }
|