Package org.hisrc.w3c.oasis.xal.v_2_0
Class DependentLocalityType.DependentLocalityNumber
- java.lang.Object
-
- org.hisrc.w3c.oasis.xal.v_2_0.DependentLocalityType.DependentLocalityNumber
-
- 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:
- DependentLocalityType
public static class DependentLocalityType.DependentLocalityNumber 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="NameNumberOccurrence"> <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 DependentLocalityNumber()Default no-arg constructorDependentLocalityNumber(String content, String nameNumberOccurrence, 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.StringgetNameNumberOccurrence()Gets the value of the nameNumberOccurrence 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()booleanisSetNameNumberOccurrence()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.voidsetNameNumberOccurrence(String value)Sets the value of the nameNumberOccurrence property.StringtoString()DependentLocalityType.DependentLocalityNumberwithCode(String value)DependentLocalityType.DependentLocalityNumberwithContent(String value)DependentLocalityType.DependentLocalityNumberwithNameNumberOccurrence(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()
-
getNameNumberOccurrence
public String getNameNumberOccurrence()
Gets the value of the nameNumberOccurrence property.- Returns:
- possible object is
String
-
setNameNumberOccurrence
public void setNameNumberOccurrence(String value)
Sets the value of the nameNumberOccurrence property.- Parameters:
value- allowed object isString
-
isSetNameNumberOccurrence
public boolean isSetNameNumberOccurrence()
-
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 DependentLocalityType.DependentLocalityNumber withContent(String value)
-
withNameNumberOccurrence
public DependentLocalityType.DependentLocalityNumber withNameNumberOccurrence(String value)
-
withCode
public DependentLocalityType.DependentLocalityNumber withCode(String value)
-
-