de.micromata.opengis.kml.v_2_2_0.xal
Class Department

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.xal.Department
All Implemented Interfaces:
java.lang.Cloneable

public class Department
extends java.lang.Object
implements java.lang.Cloneable


Nested Class Summary
static class Department.DepartmentName
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.util.List<Department.DepartmentName> departmentName
           
protected  MailStop mailStop
           
protected  PostalCode postalCode
           
protected  java.lang.String underscore
           
 
Constructor Summary
Department()
           
 
Method Summary
 Department addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 Department addToAny(java.lang.Object any)
          add a value to the any property collection
 Department addToDepartmentName(Department.DepartmentName departmentName)
          add a value to the departmentName property collection
 Department clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 Department.DepartmentName createAndAddDepartmentName()
          Creates a new instance of Department.DepartmentName and adds it to departmentName.
 MailStop createAndSetMailStop()
          Creates a new instance of MailStop and set it to mailStop.
 PostalCode createAndSetPostalCode()
          Creates a new instance of PostalCode and set it to postalCode.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 java.util.List<java.lang.Object> getAny()
           
 java.util.List<Department.DepartmentName> getDepartmentName()
           
 MailStop getMailStop()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 PostalCode getPostalCode()
           
 java.lang.String getUnderscore()
           
 int hashCode()
           
 void setAddressLine(java.util.List<AddressLine> addressLine)
          Sets the value of the addressLine property Objects of the following type(s) are allowed in the list List.
 void setAny(java.util.List<java.lang.Object> any)
          Sets the value of the any property Objects of the following type(s) are allowed in the list List.
 void setDepartmentName(java.util.List<Department.DepartmentName> departmentName)
          Sets the value of the departmentName property Objects of the following type(s) are allowed in the list List.
 void setMailStop(MailStop value)
           
 void setPostalCode(PostalCode value)
           
 void setUnderscore(java.lang.String value)
           
 Department withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 Department withAny(java.util.List<java.lang.Object> any)
          fluent setter
 Department withDepartmentName(java.util.List<Department.DepartmentName> departmentName)
          fluent setter
 Department withMailStop(MailStop mailStop)
          fluent setter
 Department withPostalCode(PostalCode postalCode)
          fluent setter
 Department withUnderscore(java.lang.String underscore)
          fluent setter
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressLine

protected java.util.List<AddressLine> addressLine

departmentName

protected java.util.List<Department.DepartmentName> departmentName

mailStop

protected MailStop mailStop

postalCode

protected PostalCode postalCode

any

protected java.util.List<java.lang.Object> any

underscore

protected java.lang.String underscore
Constructor Detail

Department

public Department()
Method Detail

getAddressLine

public java.util.List<AddressLine> getAddressLine()

getDepartmentName

public java.util.List<Department.DepartmentName> getDepartmentName()

getMailStop

public MailStop getMailStop()
Returns:
possible object is MailStop

setMailStop

public void setMailStop(MailStop value)
Parameters:
value - allowed object is MailStop

getPostalCode

public PostalCode getPostalCode()
Returns:
possible object is PostalCode

setPostalCode

public void setPostalCode(PostalCode value)
Parameters:
value - allowed object is PostalCode

getAny

public java.util.List<java.lang.Object> getAny()

getUnderscore

public java.lang.String getUnderscore()
Returns:
possible object is String

setUnderscore

public void setUnderscore(java.lang.String value)
Parameters:
value - allowed object is String

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Returns:
always non-null

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

createAndAddAddressLine

public AddressLine createAndAddAddressLine()
Creates a new instance of AddressLine and adds it to addressLine. This method is a short version for: AddressLine addressLine = new AddressLine(); this.getAddressLine().add(addressLine);


createAndAddDepartmentName

public Department.DepartmentName createAndAddDepartmentName()
Creates a new instance of Department.DepartmentName and adds it to departmentName. This method is a short version for: DepartmentName departmentName = new DepartmentName(); this.getDepartmentName().add(departmentName);


createAndSetMailStop

public MailStop createAndSetMailStop()
Creates a new instance of MailStop and set it to mailStop. This method is a short version for: MailStop mailStop = new MailStop(); this.setMailStop(mailStop);


createAndSetPostalCode

public PostalCode createAndSetPostalCode()
Creates a new instance of PostalCode and set it to postalCode. This method is a short version for: PostalCode postalCode = new PostalCode(); this.setPostalCode(postalCode);


setAddressLine

public void setAddressLine(java.util.List<AddressLine> addressLine)
Sets the value of the addressLine property Objects of the following type(s) are allowed in the list List.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withAddressLine(java.util.List) instead.

Parameters:
addressLine -

addToAddressLine

public Department addToAddressLine(AddressLine addressLine)
add a value to the addressLine property collection

Parameters:
addressLine - Objects of the following type are allowed in the list: AddressLine
Returns:
true (as general contract of Collection.add).

setDepartmentName

public void setDepartmentName(java.util.List<Department.DepartmentName> departmentName)
Sets the value of the departmentName property Objects of the following type(s) are allowed in the list List.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withDepartmentName(java.util.List) instead.

Parameters:
departmentName -

addToDepartmentName

public Department addToDepartmentName(Department.DepartmentName departmentName)
add a value to the departmentName property collection

Parameters:
departmentName - Objects of the following type are allowed in the list: Department.DepartmentName
Returns:
true (as general contract of Collection.add).

setAny

public void setAny(java.util.List<java.lang.Object> any)
Sets the value of the any property Objects of the following type(s) are allowed in the list List.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withAny(java.util.List) instead.

Parameters:
any -

addToAny

public Department addToAny(java.lang.Object any)
add a value to the any property collection

Parameters:
any - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

withAddressLine

public Department withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter

Parameters:
addressLine - required parameter
See Also:
#setAddressLine(List)

withDepartmentName

public Department withDepartmentName(java.util.List<Department.DepartmentName> departmentName)
fluent setter

Parameters:
departmentName - required parameter
See Also:
#setDepartmentName(List)

withMailStop

public Department withMailStop(MailStop mailStop)
fluent setter

Parameters:
mailStop - required parameter
See Also:
setMailStop(MailStop)

withPostalCode

public Department withPostalCode(PostalCode postalCode)
fluent setter

Parameters:
postalCode - required parameter
See Also:
setPostalCode(PostalCode)

withAny

public Department withAny(java.util.List<java.lang.Object> any)
fluent setter

Parameters:
any - required parameter
See Also:
#setAny(List)

withUnderscore

public Department withUnderscore(java.lang.String underscore)
fluent setter

Parameters:
underscore - required parameter
See Also:
setUnderscore(String)

clone

public Department clone()
Overrides:
clone in class java.lang.Object