|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oasis.names.tc.ciq.xsdschema.xal._2.PostOffice
public class PostOffice
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLine" maxOccurs="unbounded" minOccurs="0"/> <choice> <element name="PostOfficeName" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType> </element> <element name="PostOfficeNumber" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="IndicatorOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Before"/> <enumeration value="After"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> </choice> <element name="PostalRoute" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalRouteType" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostBox" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode" minOccurs="0"/> <any/> </sequence> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
PostOffice.PostOfficeName
Java class for anonymous complex type. |
static class |
PostOffice.PostOfficeNumber
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected List<AddressLine> |
addressLine
|
protected List<Object> |
any
|
protected String |
indicator
|
protected PostalCode |
postalCode
|
protected PostalRouteType |
postalRoute
|
protected PostBox |
postBox
|
protected List<PostOffice.PostOfficeName> |
postOfficeName
|
protected PostOffice.PostOfficeNumber |
postOfficeNumber
|
protected String |
type
|
Constructor Summary | |
---|---|
PostOffice()
|
Method Summary | |
---|---|
List<AddressLine> |
getAddressLine()
Gets the value of the addressLine property. |
List<Object> |
getAny()
Gets the value of the any property. |
String |
getIndicator()
Gets the value of the indicator property. |
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
PostalCode |
getPostalCode()
Gets the value of the postalCode property. |
PostalRouteType |
getPostalRoute()
Gets the value of the postalRoute property. |
PostBox |
getPostBox()
Gets the value of the postBox property. |
List<PostOffice.PostOfficeName> |
getPostOfficeName()
Gets the value of the postOfficeName property. |
PostOffice.PostOfficeNumber |
getPostOfficeNumber()
Gets the value of the postOfficeNumber property. |
String |
getType()
Gets the value of the type property. |
void |
setIndicator(String value)
Sets the value of the indicator property. |
void |
setPostalCode(PostalCode value)
Sets the value of the postalCode property. |
void |
setPostalRoute(PostalRouteType value)
Sets the value of the postalRoute property. |
void |
setPostBox(PostBox value)
Sets the value of the postBox property. |
void |
setPostOfficeNumber(PostOffice.PostOfficeNumber value)
Sets the value of the postOfficeNumber property. |
void |
setType(String value)
Sets the value of the type property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<AddressLine> addressLine
protected List<PostOffice.PostOfficeName> postOfficeName
protected PostOffice.PostOfficeNumber postOfficeNumber
protected PostalRouteType postalRoute
protected PostBox postBox
protected PostalCode postalCode
protected List<Object> any
protected String type
protected String indicator
Constructor Detail |
---|
public PostOffice()
Method Detail |
---|
public List<AddressLine> getAddressLine()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the addressLine property.
For example, to add a new item, do as follows:
getAddressLine().add(newItem);
Objects of the following type(s) are allowed in the list
AddressLine
public List<PostOffice.PostOfficeName> getPostOfficeName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the postOfficeName property.
For example, to add a new item, do as follows:
getPostOfficeName().add(newItem);
Objects of the following type(s) are allowed in the list
PostOffice.PostOfficeName
public PostOffice.PostOfficeNumber getPostOfficeNumber()
PostOffice.PostOfficeNumber
public void setPostOfficeNumber(PostOffice.PostOfficeNumber value)
value
- allowed object is
PostOffice.PostOfficeNumber
public PostalRouteType getPostalRoute()
PostalRouteType
public void setPostalRoute(PostalRouteType value)
value
- allowed object is
PostalRouteType
public PostBox getPostBox()
PostBox
public void setPostBox(PostBox value)
value
- allowed object is
PostBox
public PostalCode getPostalCode()
PostalCode
public void setPostalCode(PostalCode value)
value
- allowed object is
PostalCode
public List<Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getIndicator()
String
public void setIndicator(String value)
value
- allowed object is
String
public Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |