Class PostalRouteType
Java class for PostalRouteType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PostalRouteType">
<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="PostalRouteName" maxOccurs="unbounded">
<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="PostalRouteNumber">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostBox" minOccurs="0"/>
<any/>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
</restriction>
</complexContent>
</complexType>
-
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 List<PostalRouteType.PostalRouteName> protected PostalRouteType.PostalRouteNumberprotected PostBoxprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the addressLine property.getAny()Gets the value of the any property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the postalRouteName property.Gets the value of the postalRouteNumber property.Gets the value of the postBox property.getType()Gets the value of the type property.voidSets the value of the postalRouteNumber property.voidsetPostBox(PostBox value) Sets the value of the postBox property.voidSets the value of the type property.
-
Field Details
-
addressLine
-
postalRouteName
-
postalRouteNumber
-
postBox
-
any
-
type
-
-
Constructor Details
-
PostalRouteType
public PostalRouteType()
-
-
Method Details
-
getAddressLine
Gets the value of the addressLine 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 JAXB object. This is why there is not a
setmethod 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 -
getPostalRouteName
Gets the value of the postalRouteName 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 JAXB object. This is why there is not a
setmethod for the postalRouteName property.For example, to add a new item, do as follows:
getPostalRouteName().add(newItem);Objects of the following type(s) are allowed in the list
PostalRouteType.PostalRouteName -
getPostalRouteNumber
Gets the value of the postalRouteNumber property.- Returns:
- possible object is
PostalRouteType.PostalRouteNumber
-
getPostBox
Gets the value of the postBox property.- Returns:
- possible object is
PostBox
-
getAny
Gets the value of the any 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 JAXB object. This is why there is not a
setmethod 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 -
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
-
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
-