Class Address
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Address
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Address extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java 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="{http://www.CIP4.org/JDFSchema_2_0}AddressLine" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="AddressUsage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="City" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="CivicNumber" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Country" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="CountryCode"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <pattern value="[A-Z][A-Z]"/> </restriction> </simpleType> </attribute> <attribute name="ExtendedAddress" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="PostBox" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Region" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Street" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AddressLine>addressLineprotected java.lang.StringaddressUsageprotected java.lang.Stringcityprotected java.lang.StringcivicNumberprotected java.lang.Stringcountryprotected java.lang.StringcountryCodeprotected java.lang.StringextendedAddressprotected java.lang.StringpostalCodeprotected java.lang.StringpostBoxprotected java.lang.Stringregionprotected java.lang.Stringstreet
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<AddressLine>getAddressLine()Gets the value of the addressLine property.java.lang.StringgetAddressUsage()Gets the value of the addressUsage property.java.lang.StringgetCity()Gets the value of the city property.java.lang.StringgetCivicNumber()Gets the value of the civicNumber property.java.lang.StringgetCountry()Gets the value of the country property.java.lang.StringgetCountryCode()Gets the value of the countryCode property.java.lang.StringgetExtendedAddress()Gets the value of the extendedAddress property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.java.lang.StringgetPostalCode()Gets the value of the postalCode property.java.lang.StringgetPostBox()Gets the value of the postBox property.java.lang.StringgetRegion()Gets the value of the region property.java.lang.StringgetStreet()Gets the value of the street property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAddressUsage(java.lang.String value)Sets the value of the addressUsage property.voidsetCity(java.lang.String value)Sets the value of the city property.voidsetCivicNumber(java.lang.String value)Sets the value of the civicNumber property.voidsetCountry(java.lang.String value)Sets the value of the country property.voidsetCountryCode(java.lang.String value)Sets the value of the countryCode property.voidsetExtendedAddress(java.lang.String value)Sets the value of the extendedAddress property.voidsetPostalCode(java.lang.String value)Sets the value of the postalCode property.voidsetPostBox(java.lang.String value)Sets the value of the postBox property.voidsetRegion(java.lang.String value)Sets the value of the region property.voidsetStreet(java.lang.String value)Sets the value of the street property.AddresswithAddressLine(java.util.Collection<AddressLine> values)AddresswithAddressLine(AddressLine... values)AddresswithAddressUsage(java.lang.String value)AddresswithCity(java.lang.String value)AddresswithCivicNumber(java.lang.String value)AddresswithCountry(java.lang.String value)AddresswithCountryCode(java.lang.String value)AddresswithExtendedAddress(java.lang.String value)AddresswithPostalCode(java.lang.String value)AddresswithPostBox(java.lang.String value)AddresswithRegion(java.lang.String value)AddresswithStreet(java.lang.String value)
-
-
-
Field Detail
-
addressLine
protected java.util.List<AddressLine> addressLine
-
addressUsage
protected java.lang.String addressUsage
-
city
protected java.lang.String city
-
civicNumber
protected java.lang.String civicNumber
-
country
protected java.lang.String country
-
countryCode
protected java.lang.String countryCode
-
extendedAddress
protected java.lang.String extendedAddress
-
postalCode
protected java.lang.String postalCode
-
postBox
protected java.lang.String postBox
-
region
protected java.lang.String region
-
street
protected java.lang.String street
-
-
Method Detail
-
getAddressLine
public java.util.List<AddressLine> 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
-
getAddressUsage
public java.lang.String getAddressUsage()
Gets the value of the addressUsage property.- Returns:
- possible object is
String
-
setAddressUsage
public void setAddressUsage(java.lang.String value)
Sets the value of the addressUsage property.- Parameters:
value- allowed object isString
-
getCity
public java.lang.String getCity()
Gets the value of the city property.- Returns:
- possible object is
String
-
setCity
public void setCity(java.lang.String value)
Sets the value of the city property.- Parameters:
value- allowed object isString
-
getCivicNumber
public java.lang.String getCivicNumber()
Gets the value of the civicNumber property.- Returns:
- possible object is
String
-
setCivicNumber
public void setCivicNumber(java.lang.String value)
Sets the value of the civicNumber property.- Parameters:
value- allowed object isString
-
getCountry
public java.lang.String getCountry()
Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
public void setCountry(java.lang.String value)
Sets the value of the country property.- Parameters:
value- allowed object isString
-
getCountryCode
public java.lang.String getCountryCode()
Gets the value of the countryCode property.- Returns:
- possible object is
String
-
setCountryCode
public void setCountryCode(java.lang.String value)
Sets the value of the countryCode property.- Parameters:
value- allowed object isString
-
getExtendedAddress
public java.lang.String getExtendedAddress()
Gets the value of the extendedAddress property.- Returns:
- possible object is
String
-
setExtendedAddress
public void setExtendedAddress(java.lang.String value)
Sets the value of the extendedAddress property.- Parameters:
value- allowed object isString
-
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
-
getPostBox
public java.lang.String getPostBox()
Gets the value of the postBox property.- Returns:
- possible object is
String
-
setPostBox
public void setPostBox(java.lang.String value)
Sets the value of the postBox property.- Parameters:
value- allowed object isString
-
getRegion
public java.lang.String getRegion()
Gets the value of the region property.- Returns:
- possible object is
String
-
setRegion
public void setRegion(java.lang.String value)
Sets the value of the region property.- Parameters:
value- allowed object isString
-
getStreet
public java.lang.String getStreet()
Gets the value of the street property.- Returns:
- possible object is
String
-
setStreet
public void setStreet(java.lang.String value)
Sets the value of the street property.- Parameters:
value- allowed object isString
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> 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
-
withAddressLine
public Address withAddressLine(AddressLine... values)
-
withAddressLine
public Address withAddressLine(java.util.Collection<AddressLine> values)
-
withAddressUsage
public Address withAddressUsage(java.lang.String value)
-
withCity
public Address withCity(java.lang.String value)
-
withCivicNumber
public Address withCivicNumber(java.lang.String value)
-
withCountry
public Address withCountry(java.lang.String value)
-
withCountryCode
public Address withCountryCode(java.lang.String value)
-
withExtendedAddress
public Address withExtendedAddress(java.lang.String value)
-
withPostalCode
public Address withPostalCode(java.lang.String value)
-
withPostBox
public Address withPostBox(java.lang.String value)
-
withRegion
public Address withRegion(java.lang.String value)
-
withStreet
public Address withStreet(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-