Package org.hisrc.w3c.oasis.xal.v_2_0
Class PremiseNumber
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.PremiseNumber
-
- 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 PremiseNumber 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="NumberTypeOccurrence"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Before"/> <enumeration value="After"/> </restriction> </simpleType> </attribute> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcodeprotected Stringcontentprotected Stringindicatorprotected StringindicatorOccurrenceprotected StringnumberTypeprotected StringnumberTypeOccurrenceprotected Stringtype
-
Constructor Summary
Constructors Constructor Description PremiseNumber()Default no-arg constructorPremiseNumber(String content, String numberType, String type, String indicator, String indicatorOccurrence, String numberTypeOccurrence, 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.StringgetNumberType()Gets the value of the numberType property.StringgetNumberTypeOccurrence()Gets the value of the numberTypeOccurrence 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()booleanisSetNumberType()booleanisSetNumberTypeOccurrence()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.voidsetNumberType(String value)Sets the value of the numberType property.voidsetNumberTypeOccurrence(String value)Sets the value of the numberTypeOccurrence property.voidsetType(String value)Sets the value of the type property.StringtoString()PremiseNumberwithCode(String value)PremiseNumberwithContent(String value)PremiseNumberwithIndicator(String value)PremiseNumberwithIndicatorOccurrence(String value)PremiseNumberwithNumberType(String value)PremiseNumberwithNumberTypeOccurrence(String value)PremiseNumberwithType(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()
-
getNumberTypeOccurrence
public String getNumberTypeOccurrence()
Gets the value of the numberTypeOccurrence property.- Returns:
- possible object is
String
-
setNumberTypeOccurrence
public void setNumberTypeOccurrence(String value)
Sets the value of the numberTypeOccurrence property.- Parameters:
value- allowed object isString
-
isSetNumberTypeOccurrence
public boolean isSetNumberTypeOccurrence()
-
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 PremiseNumber withContent(String value)
-
withNumberType
public PremiseNumber withNumberType(String value)
-
withType
public PremiseNumber withType(String value)
-
withIndicator
public PremiseNumber withIndicator(String value)
-
withIndicatorOccurrence
public PremiseNumber withIndicatorOccurrence(String value)
-
withNumberTypeOccurrence
public PremiseNumber withNumberTypeOccurrence(String value)
-
withCode
public PremiseNumber withCode(String value)
-
-