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

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

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


Nested Class Summary
static class Firm.FirmName
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  java.util.List<Department> department
           
protected  java.util.List<Firm.FirmName> firmName
           
protected  MailStop mailStop
           
protected  PostalCode postalCode
           
protected  java.lang.String underscore
           
 
Constructor Summary
Firm()
           
 
Method Summary
 Firm addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 Firm addToAny(java.lang.Object any)
          add a value to the any property collection
 Firm addToDepartment(Department department)
          add a value to the department property collection
 Firm addToFirmName(Firm.FirmName firmName)
          add a value to the firmName property collection
 Firm clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 Department createAndAddDepartment()
          Creates a new instance of Department and adds it to department.
 Firm.FirmName createAndAddFirmName()
          Creates a new instance of Firm.FirmName and adds it to firmName.
 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> getDepartment()
           
 java.util.List<Firm.FirmName> getFirmName()
           
 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 setDepartment(java.util.List<Department> department)
          Sets the value of the department property Objects of the following type(s) are allowed in the list List.
 void setFirmName(java.util.List<Firm.FirmName> firmName)
          Sets the value of the firmName 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)
           
 Firm withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 Firm withAny(java.util.List<java.lang.Object> any)
          fluent setter
 Firm withDepartment(java.util.List<Department> department)
          fluent setter
 Firm withFirmName(java.util.List<Firm.FirmName> firmName)
          fluent setter
 Firm withMailStop(MailStop mailStop)
          fluent setter
 Firm withPostalCode(PostalCode postalCode)
          fluent setter
 Firm 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

firmName

protected java.util.List<Firm.FirmName> firmName

department

protected java.util.List<Department> department

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

Firm

public Firm()
Method Detail

getAddressLine

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

getFirmName

public java.util.List<Firm.FirmName> getFirmName()

getDepartment

public java.util.List<Department> getDepartment()

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);


createAndAddFirmName

public Firm.FirmName createAndAddFirmName()
Creates a new instance of Firm.FirmName and adds it to firmName. This method is a short version for: FirmName firmName = new FirmName(); this.getFirmName().add(firmName);


createAndAddDepartment

public Department createAndAddDepartment()
Creates a new instance of Department and adds it to department. This method is a short version for: Department department = new Department(); this.getDepartment().add(department);


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 Firm 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).

setFirmName

public void setFirmName(java.util.List<Firm.FirmName> firmName)
Sets the value of the firmName 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 withFirmName(java.util.List) instead.

Parameters:
firmName -

addToFirmName

public Firm addToFirmName(Firm.FirmName firmName)
add a value to the firmName property collection

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

setDepartment

public void setDepartment(java.util.List<Department> department)
Sets the value of the department 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 withDepartment(java.util.List) instead.

Parameters:
department -

addToDepartment

public Firm addToDepartment(Department department)
add a value to the department property collection

Parameters:
department - Objects of the following type are allowed in the list: Department
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 Firm 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 Firm withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter

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

withFirmName

public Firm withFirmName(java.util.List<Firm.FirmName> firmName)
fluent setter

Parameters:
firmName - required parameter
See Also:
#setFirmName(List)

withDepartment

public Firm withDepartment(java.util.List<Department> department)
fluent setter

Parameters:
department - required parameter
See Also:
#setDepartment(List)

withMailStop

public Firm withMailStop(MailStop mailStop)
fluent setter

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

withPostalCode

public Firm withPostalCode(PostalCode postalCode)
fluent setter

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

withAny

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

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

withUnderscore

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

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

clone

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