Package org.hisrc.w3c.oasis.xal.v_2_0
Class PostOffice.PostOfficeNumber
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.PostOffice.PostOfficeNumber
-
- 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:
- PostOffice
public static class PostOffice.PostOfficeNumber 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="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> <anyAttribute namespace='##other'/> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description PostOfficeNumber()Default no-arg constructorPostOfficeNumber(String content, String indicator, String indicatorOccurrence, 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.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetCode()booleanisSetContent()booleanisSetIndicator()booleanisSetIndicatorOccurrence()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.StringtoString()PostOffice.PostOfficeNumberwithCode(String value)PostOffice.PostOfficeNumberwithContent(String value)PostOffice.PostOfficeNumberwithIndicator(String value)PostOffice.PostOfficeNumberwithIndicatorOccurrence(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()
-
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()
-
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 PostOffice.PostOfficeNumber withContent(String value)
-
withIndicator
public PostOffice.PostOfficeNumber withIndicator(String value)
-
withIndicatorOccurrence
public PostOffice.PostOfficeNumber withIndicatorOccurrence(String value)
-
withCode
public PostOffice.PostOfficeNumber withCode(String value)
-
-