public class Department 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">
<sequence>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
<element name="DepartmentName" maxOccurs="unbounded" minOccurs="0">
<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="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="MailStop" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}MailStopType" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Department.DepartmentName
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<AddressLine> |
addressLine |
protected List<Object> |
any |
protected List<Department.DepartmentName> |
departmentName |
protected MailStopType |
mailStop |
protected PostalCode |
postalCode |
protected String |
type |
| Constructor and Description |
|---|
Department() |
| 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) |
List<AddressLine> |
getAddressLine()
Gets the value of the addressLine property.
|
List<Object> |
getAny()
Gets the value of the any property.
|
List<Department.DepartmentName> |
getDepartmentName()
Gets the value of the departmentName property.
|
MailStopType |
getMailStop()
Gets the value of the mailStop property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
PostalCode |
getPostalCode()
Gets the value of the postalCode property.
|
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 |
isSetAddressLine() |
boolean |
isSetAny() |
boolean |
isSetDepartmentName() |
boolean |
isSetMailStop() |
boolean |
isSetPostalCode() |
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 |
setAddressLine(List<AddressLine> value) |
void |
setAny(List<Object> value) |
void |
setDepartmentName(List<Department.DepartmentName> value) |
void |
setMailStop(MailStopType value)
Sets the value of the mailStop property.
|
void |
setPostalCode(PostalCode value)
Sets the value of the postalCode property.
|
void |
setType(String value)
Sets the value of the type property.
|
String |
toString() |
void |
unsetAddressLine() |
void |
unsetAny() |
void |
unsetDepartmentName() |
Department |
withAddressLine(AddressLine... values) |
Department |
withAddressLine(Collection<AddressLine> values) |
Department |
withAddressLine(List<AddressLine> value) |
Department |
withAny(Collection<Object> values) |
Department |
withAny(List<Object> value) |
Department |
withAny(Object... values) |
Department |
withDepartmentName(Collection<Department.DepartmentName> values) |
Department |
withDepartmentName(Department.DepartmentName... values) |
Department |
withDepartmentName(List<Department.DepartmentName> value) |
Department |
withMailStop(MailStopType value) |
Department |
withPostalCode(PostalCode value) |
Department |
withType(String value) |
protected List<AddressLine> addressLine
protected List<Department.DepartmentName> departmentName
protected MailStopType mailStop
protected PostalCode postalCode
protected String type
public List<AddressLine> getAddressLine()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the addressLine property.
For example, to add a new item, do as follows:
getAddressLine().add(newItem);
Objects of the following type(s) are allowed in the list
AddressLine
public boolean isSetAddressLine()
public void unsetAddressLine()
public List<Department.DepartmentName> getDepartmentName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the departmentName property.
For example, to add a new item, do as follows:
getDepartmentName().add(newItem);
Objects of the following type(s) are allowed in the list
Department.DepartmentName
public boolean isSetDepartmentName()
public void unsetDepartmentName()
public MailStopType getMailStop()
MailStopTypepublic void setMailStop(MailStopType value)
value - allowed object is
MailStopTypepublic boolean isSetMailStop()
public PostalCode getPostalCode()
PostalCodepublic void setPostalCode(PostalCode value)
value - allowed object is
PostalCodepublic boolean isSetPostalCode()
public List<Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public boolean isSetAny()
public void unsetAny()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
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 void setAddressLine(List<AddressLine> value)
public void setDepartmentName(List<Department.DepartmentName> value)
public Department withAddressLine(AddressLine... values)
public Department withAddressLine(Collection<AddressLine> values)
public Department withDepartmentName(Department.DepartmentName... values)
public Department withDepartmentName(Collection<Department.DepartmentName> values)
public Department withMailStop(MailStopType value)
public Department withPostalCode(PostalCode value)
public Department withAny(Object... values)
public Department withAny(Collection<Object> values)
public Department withType(String value)
public Department withAddressLine(List<AddressLine> value)
public Department withDepartmentName(List<Department.DepartmentName> value)
public Department withAny(List<Object> value)
Copyright © 2008–2023. All rights reserved.