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

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

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


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String version
           
protected  java.util.List<AddressDetails> xalAddressDetails
           
 
Constructor Summary
XAL(java.util.List<AddressDetails> xalAddressDetails)
          Value constructor with only mandatory fields
 
Method Summary
 XAL addToAny(java.lang.Object any)
          add a value to the any property collection
 XAL addToXalAddressDetails(AddressDetails xalAddressDetails)
          add a value to the xalAddressDetails property collection
 XAL clone()
           
 AddressDetails createAndAddXalAddressDetails(AddressDetails.Address xalAddress, AddressLines addressLines, AddressDetails.Country country, AdministrativeArea administrativeArea, Locality locality, Thoroughfare thoroughfare)
          Creates a new instance of AddressDetails and adds it to xalAddressDetails.
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.Object> getAny()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 java.lang.String getVersion()
           
 java.util.List<AddressDetails> getXalAddressDetails()
           
 int hashCode()
           
 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 setVersion(java.lang.String value)
           
 void setXalAddressDetails(java.util.List<AddressDetails> xalAddressDetails)
          Sets the value of the xalAddressDetails property Objects of the following type(s) are allowed in the list List.
 XAL withAny(java.util.List<java.lang.Object> any)
          fluent setter
 XAL withVersion(java.lang.String version)
          fluent setter
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xalAddressDetails

protected java.util.List<AddressDetails> xalAddressDetails

any

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

version

protected java.lang.String version
Constructor Detail

XAL

public XAL(java.util.List<AddressDetails> xalAddressDetails)
Value constructor with only mandatory fields

Parameters:
xalAddressDetails - required parameter
Method Detail

getXalAddressDetails

public java.util.List<AddressDetails> getXalAddressDetails()

getAny

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

getVersion

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

setVersion

public void setVersion(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

createAndAddXalAddressDetails

public AddressDetails createAndAddXalAddressDetails(AddressDetails.Address xalAddress,
                                                    AddressLines addressLines,
                                                    AddressDetails.Country country,
                                                    AdministrativeArea administrativeArea,
                                                    Locality locality,
                                                    Thoroughfare thoroughfare)
Creates a new instance of AddressDetails and adds it to xalAddressDetails. This method is a short version for: AddressDetails addressDetails = new AddressDetails(); this.getXalAddressDetails().add(addressDetails);

Parameters:
administrativeArea - required parameter
addressLines - required parameter
locality - required parameter
thoroughfare - required parameter
xalAddress - required parameter
country - required parameter

setXalAddressDetails

public void setXalAddressDetails(java.util.List<AddressDetails> xalAddressDetails)
Sets the value of the xalAddressDetails 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 #withXalAddressDetails instead.

Parameters:
xalAddressDetails -

addToXalAddressDetails

public XAL addToXalAddressDetails(AddressDetails xalAddressDetails)
add a value to the xalAddressDetails property collection

Parameters:
xalAddressDetails - Objects of the following type are allowed in the list: AddressDetails
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 XAL 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).

withAny

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

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

withVersion

public XAL withVersion(java.lang.String version)
fluent setter

Parameters:
version - required parameter
See Also:
setVersion(String)

clone

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