public class ThoroughfareNumber extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected String |
content |
protected String |
indicator |
protected String |
indicatorOccurrence |
protected String |
numberOccurrence |
protected String |
numberType |
protected String |
type |
| Constructor and Description |
|---|
ThoroughfareNumber() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
String |
getCode()
Gets the value of the code property.
|
String |
getContent()
Gets the value of the content property.
|
String |
getIndicator()
Gets the value of the indicator property.
|
String |
getIndicatorOccurrence()
Gets the value of the indicatorOccurrence property.
|
String |
getNumberOccurrence()
Gets the value of the numberOccurrence property.
|
String |
getNumberType()
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.
|
String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetCode() |
boolean |
isSetContent() |
boolean |
isSetIndicator() |
boolean |
isSetIndicatorOccurrence() |
boolean |
isSetNumberOccurrence() |
boolean |
isSetNumberType() |
boolean |
isSetType() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(Object left,
Object right) |
void |
setCode(String value)
Sets the value of the code property.
|
void |
setContent(String value)
Sets the value of the content property.
|
void |
setIndicator(String value)
Sets the value of the indicator property.
|
void |
setIndicatorOccurrence(String value)
Sets the value of the indicatorOccurrence property.
|
void |
setNumberOccurrence(String value)
Sets the value of the numberOccurrence property.
|
void |
setNumberType(String value)
Sets the value of the numberType property.
|
void |
setType(String value)
Sets the value of the type property.
|
String |
toString() |
ThoroughfareNumber |
withCode(String value) |
ThoroughfareNumber |
withContent(String value) |
ThoroughfareNumber |
withIndicator(String value) |
ThoroughfareNumber |
withIndicatorOccurrence(String value) |
ThoroughfareNumber |
withNumberOccurrence(String value) |
ThoroughfareNumber |
withNumberType(String value) |
ThoroughfareNumber |
withType(String value) |
protected String content
protected String numberType
protected String type
protected String indicator
protected String indicatorOccurrence
protected String numberOccurrence
protected String code
public String getContent()
Stringpublic void setContent(String value)
value - allowed object is
Stringpublic boolean isSetContent()
public String getNumberType()
Stringpublic void setNumberType(String value)
value - allowed object is
Stringpublic boolean isSetNumberType()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public String getIndicator()
Stringpublic void setIndicator(String value)
value - allowed object is
Stringpublic boolean isSetIndicator()
public String getIndicatorOccurrence()
Stringpublic void setIndicatorOccurrence(String value)
value - allowed object is
Stringpublic boolean isSetIndicatorOccurrence()
public String getNumberOccurrence()
Stringpublic void setNumberOccurrence(String value)
value - allowed object is
Stringpublic boolean isSetNumberOccurrence()
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic boolean isSetCode()
public Map<QName,String> getOtherAttributes()
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.
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public ThoroughfareNumber withContent(String value)
public ThoroughfareNumber withNumberType(String value)
public ThoroughfareNumber withType(String value)
public ThoroughfareNumber withIndicator(String value)
public ThoroughfareNumber withIndicatorOccurrence(String value)
public ThoroughfareNumber withNumberOccurrence(String value)
public ThoroughfareNumber withCode(String value)
Copyright © 2008–2023. All rights reserved.