Class PostalAddress
- java.lang.Object
-
- org.cxml.PostalAddress
-
public class PostalAddress extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Citycityprotected Countrycountryprotected java.util.List<DeliverTo>deliverToprotected java.util.List<Extrinsic>extrinsicprotected Municipalitymunicipalityprotected java.lang.Stringnameprotected java.lang.StringpostalCodeprotected Statestateprotected java.util.List<Street>street
-
Constructor Summary
Constructors Constructor Description PostalAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CitygetCity()Gets the value of the city property.CountrygetCountry()Gets the value of the country property.java.util.List<DeliverTo>getDeliverTo()Gets the value of the deliverTo property.java.util.List<Extrinsic>getExtrinsic()Gets the value of the extrinsic property.MunicipalitygetMunicipality()Gets the value of the municipality property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetPostalCode()Gets the value of the postalCode property.StategetState()Gets the value of the state property.java.util.List<Street>getStreet()Gets the value of the street property.voidsetCity(City value)Sets the value of the city property.voidsetCountry(Country value)Sets the value of the country property.voidsetMunicipality(Municipality value)Sets the value of the municipality property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetPostalCode(java.lang.String value)Sets the value of the postalCode property.voidsetState(State value)Sets the value of the state property.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
deliverTo
protected java.util.List<DeliverTo> deliverTo
-
street
protected java.util.List<Street> street
-
city
protected City city
-
municipality
protected Municipality municipality
-
state
protected State state
-
postalCode
protected java.lang.String postalCode
-
country
protected Country country
-
extrinsic
protected java.util.List<Extrinsic> extrinsic
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDeliverTo
public java.util.List<DeliverTo> getDeliverTo()
Gets the value of the deliverTo 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 deliverTo property.For example, to add a new item, do as follows:
getDeliverTo().add(newItem);Objects of the following type(s) are allowed in the list
DeliverTo
-
getStreet
public java.util.List<Street> getStreet()
Gets the value of the street 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 street property.For example, to add a new item, do as follows:
getStreet().add(newItem);Objects of the following type(s) are allowed in the list
Street
-
setCity
public void setCity(City value)
Sets the value of the city property.- Parameters:
value- allowed object isCity
-
getMunicipality
public Municipality getMunicipality()
Gets the value of the municipality property.- Returns:
- possible object is
Municipality
-
setMunicipality
public void setMunicipality(Municipality value)
Sets the value of the municipality property.- Parameters:
value- allowed object isMunicipality
-
getState
public State getState()
Gets the value of the state property.- Returns:
- possible object is
State
-
setState
public void setState(State value)
Sets the value of the state property.- Parameters:
value- allowed object isState
-
getPostalCode
public java.lang.String getPostalCode()
Gets the value of the postalCode property.- Returns:
- possible object is
String
-
setPostalCode
public void setPostalCode(java.lang.String value)
Sets the value of the postalCode property.- Parameters:
value- allowed object isString
-
getCountry
public Country getCountry()
Gets the value of the country property.- Returns:
- possible object is
Country
-
setCountry
public void setCountry(Country value)
Sets the value of the country property.- Parameters:
value- allowed object isCountry
-
getExtrinsic
public java.util.List<Extrinsic> getExtrinsic()
Gets the value of the extrinsic 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 extrinsic property.For example, to add a new item, do as follows:
getExtrinsic().add(newItem);Objects of the following type(s) are allowed in the list
Extrinsic
-
-