Class PostOffice
- All Implemented Interfaces:
Serializable
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" />
<anyAttribute namespace='##other'/>
</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>
<anyAttribute namespace='##other'/>
</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 namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AddressLine> protected Stringprotected PostalCodeprotected PostalRouteTypeprotected PostBoxprotected List<PostOffice.PostOfficeName> protected PostOffice.PostOfficeNumberprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the addressLines property.getAnies()Gets the value of the anies property.Gets the value of the indicator property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the postalCode property.Gets the value of the postalRoute property.Gets the value of the postBox property.Gets the value of the postOfficeNames property.Gets the value of the postOfficeNumber property.getType()Gets the value of the type property.voidsetIndicator(String value) Sets the value of the indicator property.voidsetPostalCode(PostalCode value) Sets the value of the postalCode property.voidsetPostalRoute(PostalRouteType value) Sets the value of the postalRoute property.voidsetPostBox(PostBox value) Sets the value of the postBox property.voidSets the value of the postOfficeNumber property.voidSets the value of the type property.
-
Field Details
-
addressLines
-
postOfficeNumber
-
postOfficeNames
-
postalRoute
-
postBox
-
postalCode
-
anies
-
type
-
indicator
-
-
Constructor Details
-
PostOffice
public PostOffice()
-
-
Method Details
-
getAddressLines
Gets the value of the addressLines property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the addressLines property.For example, to add a new item, do as follows:
getAddressLines().add(newItem);Objects of the following type(s) are allowed in the list
AddressLine- Returns:
- The value of the addressLines property.
-
getPostOfficeNumber
Gets the value of the postOfficeNumber property.- Returns:
- possible object is
PostOffice.PostOfficeNumber
-
setPostOfficeNumber
Sets the value of the postOfficeNumber property.- Parameters:
value- allowed object isPostOffice.PostOfficeNumber
-
getPostOfficeNames
Gets the value of the postOfficeNames property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the postOfficeNames property.For example, to add a new item, do as follows:
getPostOfficeNames().add(newItem);Objects of the following type(s) are allowed in the list
PostOffice.PostOfficeName- Returns:
- The value of the postOfficeNames property.
-
getPostalRoute
Gets the value of the postalRoute property.- Returns:
- possible object is
PostalRouteType
-
setPostalRoute
Sets the value of the postalRoute property.- Parameters:
value- allowed object isPostalRouteType
-
getPostBox
Gets the value of the postBox property.- Returns:
- possible object is
PostBox
-
setPostBox
Sets the value of the postBox property.- Parameters:
value- allowed object isPostBox
-
getPostalCode
Gets the value of the postalCode property.- Returns:
- possible object is
PostalCode
-
setPostalCode
Sets the value of the postalCode property.- Parameters:
value- allowed object isPostalCode
-
getAnies
Gets the value of the anies property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the anies property.For example, to add a new item, do as follows:
getAnies().add(newItem);Objects of the following type(s) are allowed in the list
Object- Returns:
- The value of the anies property.
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getIndicator
Gets the value of the indicator property.- Returns:
- possible object is
String
-
setIndicator
Sets the value of the indicator property.- Parameters:
value- allowed object isString
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class.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.
- Returns:
- always non-null
-