blob: 2ce606776e530fd1c92a625d9acd875114b95bc5 [file] [log] [blame]
//
// 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.JAXBElement;
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 CAN_Address complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="CAN_Address">
* &lt;complexContent>
* &lt;extension base="{}Address">
* &lt;sequence>
* &lt;element name="Province" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CAN_Address", propOrder = {
"province",
"postalCode"
})
public class CANAddress
extends Address
{
@XmlElement(name = "Province")
protected String province;
@XmlElement(name = "PostalCode")
protected String postalCode;
/**
* Gets the value of the province property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProvince() {
return province;
}
/**
* Sets the value of the province property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProvince(String value) {
this.province = value;
}
/**
* Gets the value of the postalCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Sets the value of the postalCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(super.toString())
.append("\n ")
.append(this.province)
.append(" ")
.append(this.postalCode);
return sb.toString();
}
}