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

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

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


Nested Class Summary
static class MailStop.MailStopName
           
static class MailStop.MailStopNumber
           
 
Field Summary
protected  java.util.List<AddressLine> addressLine
           
protected  java.util.List<java.lang.Object> any
           
protected  MailStop.MailStopName mailStopName
           
protected  MailStop.MailStopNumber mailStopNumber
           
protected  java.lang.String underscore
           
 
Constructor Summary
MailStop()
           
 
Method Summary
 MailStop addToAddressLine(AddressLine addressLine)
          add a value to the addressLine property collection
 MailStop addToAny(java.lang.Object any)
          add a value to the any property collection
 MailStop clone()
           
 AddressLine createAndAddAddressLine()
          Creates a new instance of AddressLine and adds it to addressLine.
 MailStop.MailStopName createAndSetMailStopName()
          Creates a new instance of MailStop.MailStopName and set it to mailStopName.
 MailStop.MailStopNumber createAndSetMailStopNumber()
          Creates a new instance of MailStop.MailStopNumber and set it to mailStopNumber.
 boolean equals(java.lang.Object obj)
           
 java.util.List<AddressLine> getAddressLine()
           
 java.util.List<java.lang.Object> getAny()
           
 MailStop.MailStopName getMailStopName()
           
 MailStop.MailStopNumber getMailStopNumber()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 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 setMailStopName(MailStop.MailStopName value)
           
 void setMailStopNumber(MailStop.MailStopNumber value)
           
 void setUnderscore(java.lang.String value)
           
 MailStop withAddressLine(java.util.List<AddressLine> addressLine)
          fluent setter
 MailStop withAny(java.util.List<java.lang.Object> any)
          fluent setter
 MailStop withMailStopName(MailStop.MailStopName mailStopName)
          fluent setter
 MailStop withMailStopNumber(MailStop.MailStopNumber mailStopNumber)
          fluent setter
 MailStop 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

mailStopName

protected MailStop.MailStopName mailStopName

mailStopNumber

protected MailStop.MailStopNumber mailStopNumber

any

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

underscore

protected java.lang.String underscore
Constructor Detail

MailStop

public MailStop()
Method Detail

getAddressLine

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

getMailStopName

public MailStop.MailStopName getMailStopName()
Returns:
possible object is MailStop.MailStopName

setMailStopName

public void setMailStopName(MailStop.MailStopName value)
Parameters:
value - allowed object is MailStop.MailStopName

getMailStopNumber

public MailStop.MailStopNumber getMailStopNumber()
Returns:
possible object is MailStop.MailStopNumber

setMailStopNumber

public void setMailStopNumber(MailStop.MailStopNumber value)
Parameters:
value - allowed object is MailStop.MailStopNumber

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


createAndSetMailStopName

public MailStop.MailStopName createAndSetMailStopName()
Creates a new instance of MailStop.MailStopName and set it to mailStopName. This method is a short version for: MailStopName mailStopName = new MailStopName(); this.setMailStopName(mailStopName);


createAndSetMailStopNumber

public MailStop.MailStopNumber createAndSetMailStopNumber()
Creates a new instance of MailStop.MailStopNumber and set it to mailStopNumber. This method is a short version for: MailStopNumber mailStopNumber = new MailStopNumber(); this.setMailStopNumber(mailStopNumber);


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

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 MailStop 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 MailStop withAddressLine(java.util.List<AddressLine> addressLine)
fluent setter

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

withMailStopName

public MailStop withMailStopName(MailStop.MailStopName mailStopName)
fluent setter

Parameters:
mailStopName - required parameter
See Also:
setMailStopName(MailStopName)

withMailStopNumber

public MailStop withMailStopNumber(MailStop.MailStopNumber mailStopNumber)
fluent setter

Parameters:
mailStopNumber - required parameter
See Also:
setMailStopNumber(MailStopNumber)

withAny

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

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

withUnderscore

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

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

clone

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