Class Address
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Address
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public class Address extends java.lang.Object implements java.io.SerializableJava 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)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()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
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<AddressLine> addressLine
-
addressUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String addressUsage
-
city
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String city
-
civicNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String civicNumber
-
country
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String country
-
countryCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String countryCode
-
extendedAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String extendedAddress
-
postalCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String postalCode
-
postBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String postBox
-
region
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String region
-
street
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String street
-
-
Method Detail
-
getAddressLine
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") 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 Jakarta XML Binding 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- Returns:
- The value of the addressLine property.
-
getAddressUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getAddressUsage()Gets the value of the addressUsage property.- Returns:
- possible object is
String
-
setAddressUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setAddressUsage(java.lang.String value)Sets the value of the addressUsage property.- Parameters:
value- allowed object isString
-
getCity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getCity()Gets the value of the city property.- Returns:
- possible object is
String
-
setCity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setCity(java.lang.String value)Sets the value of the city property.- Parameters:
value- allowed object isString
-
getCivicNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getCivicNumber()Gets the value of the civicNumber property.- Returns:
- possible object is
String
-
setCivicNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setCivicNumber(java.lang.String value)Sets the value of the civicNumber property.- Parameters:
value- allowed object isString
-
getCountry
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getCountry()Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setCountry(java.lang.String value)Sets the value of the country property.- Parameters:
value- allowed object isString
-
getCountryCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getCountryCode()Gets the value of the countryCode property.- Returns:
- possible object is
String
-
setCountryCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setCountryCode(java.lang.String value)Sets the value of the countryCode property.- Parameters:
value- allowed object isString
-
getExtendedAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getExtendedAddress()Gets the value of the extendedAddress property.- Returns:
- possible object is
String
-
setExtendedAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setExtendedAddress(java.lang.String value)Sets the value of the extendedAddress property.- Parameters:
value- allowed object isString
-
getPostalCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getPostalCode()Gets the value of the postalCode property.- Returns:
- possible object is
String
-
setPostalCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setPostalCode(java.lang.String value)Sets the value of the postalCode property.- Parameters:
value- allowed object isString
-
getPostBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getPostBox()Gets the value of the postBox property.- Returns:
- possible object is
String
-
setPostBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setPostBox(java.lang.String value)Sets the value of the postBox property.- Parameters:
value- allowed object isString
-
getRegion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getRegion()Gets the value of the region property.- Returns:
- possible object is
String
-
setRegion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setRegion(java.lang.String value)Sets the value of the region property.- Parameters:
value- allowed object isString
-
getStreet
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getStreet()Gets the value of the street property.- Returns:
- possible object is
String
-
setStreet
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setStreet(java.lang.String value)Sets the value of the street property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") 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(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-