Class Thoroughfare.ThoroughfareNumberRange
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.Thoroughfare.ThoroughfareNumberRange
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Enclosing class:
- Thoroughfare
public static class Thoroughfare.ThoroughfareNumberRange extends Object implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
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"/> <element name="ThoroughfareNumberFrom"> <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"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberPrefix" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumber" maxOccurs="unbounded"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberSuffix" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType> </element> <element name="ThoroughfareNumberTo"> <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"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberPrefix" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumber" maxOccurs="unbounded"/> <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberSuffix" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType> </element> </sequence> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <attribute name="RangeType"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Odd"/> <enumeration value="Even"/> </restriction> </simpleType> </attribute> <attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="Separator" 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> <attribute name="NumberRangeOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="BeforeName"/> <enumeration value="AfterName"/> <enumeration value="BeforeType"/> <enumeration value="AfterType"/> </restriction> </simpleType> </attribute> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFromJava class for anonymous complex type.static classThoroughfare.ThoroughfareNumberRange.ThoroughfareNumberToJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AddressLine>addressLineprotected Stringcodeprotected Stringindicatorprotected StringindicatorOccurrenceprotected StringnumberRangeOccurrenceprotected StringrangeTypeprotected Stringseparatorprotected Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFromthoroughfareNumberFromprotected Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTothoroughfareNumberToprotected Stringtype
-
Constructor Summary
Constructors Constructor Description ThoroughfareNumberRange()Default no-arg constructorThoroughfareNumberRange(List<AddressLine> addressLine, Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom thoroughfareNumberFrom, Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo thoroughfareNumberTo, String rangeType, String indicator, String separator, String indicatorOccurrence, String numberRangeOccurrence, String type, String code, Map<QName,String> otherAttributes)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<AddressLine>getAddressLine()Gets the value of the addressLine property.StringgetCode()Gets the value of the code property.StringgetIndicator()Gets the value of the indicator property.StringgetIndicatorOccurrence()Gets the value of the indicatorOccurrence property.StringgetNumberRangeOccurrence()Gets the value of the numberRangeOccurrence property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetRangeType()Gets the value of the rangeType property.StringgetSeparator()Gets the value of the separator property.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFromgetThoroughfareNumberFrom()Gets the value of the thoroughfareNumberFrom property.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTogetThoroughfareNumberTo()Gets the value of the thoroughfareNumberTo property.StringgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetAddressLine()booleanisSetCode()booleanisSetIndicator()booleanisSetIndicatorOccurrence()booleanisSetNumberRangeOccurrence()booleanisSetRangeType()booleanisSetSeparator()booleanisSetThoroughfareNumberFrom()booleanisSetThoroughfareNumberTo()booleanisSetType()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetAddressLine(List<AddressLine> value)voidsetCode(String value)Sets the value of the code property.voidsetIndicator(String value)Sets the value of the indicator property.voidsetIndicatorOccurrence(String value)Sets the value of the indicatorOccurrence property.voidsetNumberRangeOccurrence(String value)Sets the value of the numberRangeOccurrence property.voidsetRangeType(String value)Sets the value of the rangeType property.voidsetSeparator(String value)Sets the value of the separator property.voidsetThoroughfareNumberFrom(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom value)Sets the value of the thoroughfareNumberFrom property.voidsetThoroughfareNumberTo(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo value)Sets the value of the thoroughfareNumberTo property.voidsetType(String value)Sets the value of the type property.StringtoString()voidunsetAddressLine()Thoroughfare.ThoroughfareNumberRangewithAddressLine(Collection<AddressLine> values)Thoroughfare.ThoroughfareNumberRangewithAddressLine(List<AddressLine> value)Thoroughfare.ThoroughfareNumberRangewithAddressLine(AddressLine... values)Thoroughfare.ThoroughfareNumberRangewithCode(String value)Thoroughfare.ThoroughfareNumberRangewithIndicator(String value)Thoroughfare.ThoroughfareNumberRangewithIndicatorOccurrence(String value)Thoroughfare.ThoroughfareNumberRangewithNumberRangeOccurrence(String value)Thoroughfare.ThoroughfareNumberRangewithRangeType(String value)Thoroughfare.ThoroughfareNumberRangewithSeparator(String value)Thoroughfare.ThoroughfareNumberRangewithThoroughfareNumberFrom(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom value)Thoroughfare.ThoroughfareNumberRangewithThoroughfareNumberTo(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo value)Thoroughfare.ThoroughfareNumberRangewithType(String value)
-
-
-
Field Detail
-
addressLine
protected List<AddressLine> addressLine
-
thoroughfareNumberFrom
protected Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom thoroughfareNumberFrom
-
thoroughfareNumberTo
protected Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo thoroughfareNumberTo
-
rangeType
protected String rangeType
-
indicator
protected String indicator
-
separator
protected String separator
-
indicatorOccurrence
protected String indicatorOccurrence
-
numberRangeOccurrence
protected String numberRangeOccurrence
-
type
protected String type
-
code
protected String code
-
-
Constructor Detail
-
ThoroughfareNumberRange
public ThoroughfareNumberRange()
Default no-arg constructor
-
ThoroughfareNumberRange
public ThoroughfareNumberRange(List<AddressLine> addressLine, Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom thoroughfareNumberFrom, Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo thoroughfareNumberTo, String rangeType, String indicator, String separator, String indicatorOccurrence, String numberRangeOccurrence, String type, String code, Map<QName,String> otherAttributes)
Fully-initialising value constructor
-
-
Method Detail
-
getAddressLine
public 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
-
isSetAddressLine
public boolean isSetAddressLine()
-
unsetAddressLine
public void unsetAddressLine()
-
getThoroughfareNumberFrom
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom getThoroughfareNumberFrom()
Gets the value of the thoroughfareNumberFrom property.- Returns:
- possible object is
Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom
-
setThoroughfareNumberFrom
public void setThoroughfareNumberFrom(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom value)
Sets the value of the thoroughfareNumberFrom property.- Parameters:
value- allowed object isThoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom
-
isSetThoroughfareNumberFrom
public boolean isSetThoroughfareNumberFrom()
-
getThoroughfareNumberTo
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo getThoroughfareNumberTo()
Gets the value of the thoroughfareNumberTo property.- Returns:
- possible object is
Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
-
setThoroughfareNumberTo
public void setThoroughfareNumberTo(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo value)
Sets the value of the thoroughfareNumberTo property.- Parameters:
value- allowed object isThoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
-
isSetThoroughfareNumberTo
public boolean isSetThoroughfareNumberTo()
-
getRangeType
public String getRangeType()
Gets the value of the rangeType property.- Returns:
- possible object is
String
-
setRangeType
public void setRangeType(String value)
Sets the value of the rangeType property.- Parameters:
value- allowed object isString
-
isSetRangeType
public boolean isSetRangeType()
-
getIndicator
public String getIndicator()
Gets the value of the indicator property.- Returns:
- possible object is
String
-
setIndicator
public void setIndicator(String value)
Sets the value of the indicator property.- Parameters:
value- allowed object isString
-
isSetIndicator
public boolean isSetIndicator()
-
getSeparator
public String getSeparator()
Gets the value of the separator property.- Returns:
- possible object is
String
-
setSeparator
public void setSeparator(String value)
Sets the value of the separator property.- Parameters:
value- allowed object isString
-
isSetSeparator
public boolean isSetSeparator()
-
getIndicatorOccurrence
public String getIndicatorOccurrence()
Gets the value of the indicatorOccurrence property.- Returns:
- possible object is
String
-
setIndicatorOccurrence
public void setIndicatorOccurrence(String value)
Sets the value of the indicatorOccurrence property.- Parameters:
value- allowed object isString
-
isSetIndicatorOccurrence
public boolean isSetIndicatorOccurrence()
-
getNumberRangeOccurrence
public String getNumberRangeOccurrence()
Gets the value of the numberRangeOccurrence property.- Returns:
- possible object is
String
-
setNumberRangeOccurrence
public void setNumberRangeOccurrence(String value)
Sets the value of the numberRangeOccurrence property.- Parameters:
value- allowed object isString
-
isSetNumberRangeOccurrence
public boolean isSetNumberRangeOccurrence()
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
isSetType
public boolean isSetType()
-
getCode
public String getCode()
Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
public void setCode(String value)
Sets the value of the code property.- Parameters:
value- allowed object isString
-
isSetCode
public boolean isSetCode()
-
getOtherAttributes
public Map<QName,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
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
setAddressLine
public void setAddressLine(List<AddressLine> value)
-
withAddressLine
public Thoroughfare.ThoroughfareNumberRange withAddressLine(AddressLine... values)
-
withAddressLine
public Thoroughfare.ThoroughfareNumberRange withAddressLine(Collection<AddressLine> values)
-
withThoroughfareNumberFrom
public Thoroughfare.ThoroughfareNumberRange withThoroughfareNumberFrom(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom value)
-
withThoroughfareNumberTo
public Thoroughfare.ThoroughfareNumberRange withThoroughfareNumberTo(Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo value)
-
withRangeType
public Thoroughfare.ThoroughfareNumberRange withRangeType(String value)
-
withIndicator
public Thoroughfare.ThoroughfareNumberRange withIndicator(String value)
-
withSeparator
public Thoroughfare.ThoroughfareNumberRange withSeparator(String value)
-
withIndicatorOccurrence
public Thoroughfare.ThoroughfareNumberRange withIndicatorOccurrence(String value)
-
withNumberRangeOccurrence
public Thoroughfare.ThoroughfareNumberRange withNumberRangeOccurrence(String value)
-
withType
public Thoroughfare.ThoroughfareNumberRange withType(String value)
-
withCode
public Thoroughfare.ThoroughfareNumberRange withCode(String value)
-
withAddressLine
public Thoroughfare.ThoroughfareNumberRange withAddressLine(List<AddressLine> value)
-
-