Package org.hisrc.w3c.oasis.xal.v_2_0
Class ThoroughfareNumber
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.ThoroughfareNumber
-
- 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
public class ThoroughfareNumber 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"> <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/> <attribute name="NumberType"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Single"/> <enumeration value="Range"/> </restriction> </simpleType> </attribute> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="Indicator" 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="NumberOccurrence"> <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> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcodeprotected Stringcontentprotected Stringindicatorprotected StringindicatorOccurrenceprotected StringnumberOccurrenceprotected StringnumberTypeprotected Stringtype
-
Constructor Summary
Constructors Constructor Description ThoroughfareNumber()Default no-arg constructorThoroughfareNumber(String content, String numberType, String type, String indicator, String indicatorOccurrence, String numberOccurrence, 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)StringgetCode()Gets the value of the code property.StringgetContent()Gets the value of the content property.StringgetIndicator()Gets the value of the indicator property.StringgetIndicatorOccurrence()Gets the value of the indicatorOccurrence property.StringgetNumberOccurrence()Gets the value of the numberOccurrence property.StringgetNumberType()Gets the value of the numberType property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetCode()booleanisSetContent()booleanisSetIndicator()booleanisSetIndicatorOccurrence()booleanisSetNumberOccurrence()booleanisSetNumberType()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)voidsetCode(String value)Sets the value of the code property.voidsetContent(String value)Sets the value of the content property.voidsetIndicator(String value)Sets the value of the indicator property.voidsetIndicatorOccurrence(String value)Sets the value of the indicatorOccurrence property.voidsetNumberOccurrence(String value)Sets the value of the numberOccurrence property.voidsetNumberType(String value)Sets the value of the numberType property.voidsetType(String value)Sets the value of the type property.StringtoString()ThoroughfareNumberwithCode(String value)ThoroughfareNumberwithContent(String value)ThoroughfareNumberwithIndicator(String value)ThoroughfareNumberwithIndicatorOccurrence(String value)ThoroughfareNumberwithNumberOccurrence(String value)ThoroughfareNumberwithNumberType(String value)ThoroughfareNumberwithType(String value)
-
-
-
Method Detail
-
getContent
public String getContent()
Gets the value of the content property.- Returns:
- possible object is
String
-
setContent
public void setContent(String value)
Sets the value of the content property.- Parameters:
value- allowed object isString
-
isSetContent
public boolean isSetContent()
-
getNumberType
public String getNumberType()
Gets the value of the numberType property.- Returns:
- possible object is
String
-
setNumberType
public void setNumberType(String value)
Sets the value of the numberType property.- Parameters:
value- allowed object isString
-
isSetNumberType
public boolean isSetNumberType()
-
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()
-
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()
-
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()
-
getNumberOccurrence
public String getNumberOccurrence()
Gets the value of the numberOccurrence property.- Returns:
- possible object is
String
-
setNumberOccurrence
public void setNumberOccurrence(String value)
Sets the value of the numberOccurrence property.- Parameters:
value- allowed object isString
-
isSetNumberOccurrence
public boolean isSetNumberOccurrence()
-
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
-
withContent
public ThoroughfareNumber withContent(String value)
-
withNumberType
public ThoroughfareNumber withNumberType(String value)
-
withType
public ThoroughfareNumber withType(String value)
-
withIndicator
public ThoroughfareNumber withIndicator(String value)
-
withIndicatorOccurrence
public ThoroughfareNumber withIndicatorOccurrence(String value)
-
withNumberOccurrence
public ThoroughfareNumber withNumberOccurrence(String value)
-
withCode
public ThoroughfareNumber withCode(String value)
-
-