Class TLcdKML22LatLonBox

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22LatLonBox extends TLcdKML22AbstractLatLonBox
Domain class modeling the KML LatLonBoxType type.

OGC KML Specification description:

 This element can be used wherever the following element is referenced:

  -kml:AbstractObjectGroup

 

Note: since a KML LatLonBox can be rotated, it does not implement ILcdBounds.

Since:
10.0
  • Field Details

    • ROTATION_PROPERTY

      public static final TLcdDataProperty ROTATION_PROPERTY
      Data property that maps to the rotation element. The possible values for this property are instances of Double.
    • LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the LatLonBoxSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the LatLonBoxObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
    • NORTH_PROPERTY

      public static final TLcdDataProperty NORTH_PROPERTY
      Data property that maps to the north element. The possible values for this property are instances of Double.
    • SOUTH_PROPERTY

      public static final TLcdDataProperty SOUTH_PROPERTY
      Data property that maps to the south element. The possible values for this property are instances of Double.
    • EAST_PROPERTY

      public static final TLcdDataProperty EAST_PROPERTY
      Data property that maps to the east element. The possible values for this property are instances of Double.
    • WEST_PROPERTY

      public static final TLcdDataProperty WEST_PROPERTY
      Data property that maps to the west element. The possible values for this property are instances of Double.
    • ABSTRACT_LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractLatLonBoxSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • ABSTRACT_LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractLatLonBoxObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
  • Constructor Details

    • TLcdKML22LatLonBox

      public TLcdKML22LatLonBox(TLcdDataType aType)
      Creates a new TLcdKML22LatLonBox with a custom TLcdDataType.
      Parameters:
      aType - a custom TLcdDataType
  • Method Details

    • setValue

      public void setValue(TLcdDataProperty aTLcdDataProperty, Object o)
      Description copied from interface: ILcdDataObject

      Sets the value of the given property for this data object. The implementation is allowed to throw an exception if the given value can't be set.

      The given property must be declared in the data object's type or in one of its super types. In other words, getDataType().getProperties().contains( aProperty ) should always be true. Otherwise, the implementation should throw an IllegalArgumentException.

      Specified by:
      setValue in interface ILcdDataObject
      Overrides:
      setValue in class TLcdDataObject
      Parameters:
      aTLcdDataProperty - the property for which the value is to be set
      o - the value to set
      See Also:
    • getSouth

      public Double getSouth()
      Returns the value of the property that maps to the south element.
      Returns:
      the value of the SOUTH_PROPERTY property.
    • getEast

      public Double getEast()
      Returns the value of the property that maps to the east element.
      Returns:
      the value of the EAST_PROPERTY property.
    • getWest

      public Double getWest()
      Returns the value of the property that maps to the west element.
      Returns:
      the value of the WEST_PROPERTY property.
    • getNorth

      public Double getNorth()
      Returns the value of the property that maps to the north element.
      Returns:
      the value of the NORTH_PROPERTY property.
    • getRotation

      public Double getRotation()
      Returns the value of the property that maps to the rotation element.
      Returns:
      the value of the ROTATION_PROPERTY property.
    • clone

      public TLcdKML22LatLonBox clone()
      Description copied from class: TLcdDataObject
      Returns a deep clone of this object. This method delegates to TLcdDataObject.clone(Map).
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class TLcdDataObject
      Returns:
      a deep clone of this object
      See Also:
    • clone

      public TLcdDataObject clone(Map aObjectDictionary)
      Description copied from class: TLcdDataObject
      Returns a deep clone of this object. If the clone is not already present in the dictionary, a new instance if created as follows:
      • First, a new instance is created using Java's clone() mechanism.
      • Then, all properties of this object are cloned and set on the newly created instance. A property is cloned as follows:
        • If the property value is an ILcdDataObject, the value is cloned by first creating a new instance via the value.getDataType().newInstance() method, and then cloning its properties one by one.
        • If the value implements ILcdDeepCloneable or ILcdCloneable then this interface is used to clone the value.
        • Otherwise, the property value is copied by reference.
      Specified by:
      clone in interface ILcdDeepCloneable
      Overrides:
      clone in class TLcdDataObject
      Parameters:
      aObjectDictionary - the Object dictionary that keeps track of the objects for which a clone has already been made, and their corresponding clone Object.
      Returns:
      a deep clone of this object
    • setRotation

      public void setRotation(Double aValue)
      Sets the value of the property that maps to the rotation element.
      Parameters:
      aValue - the value to set for the ROTATION_PROPERTY property.
    • setNorth

      public void setNorth(Double aValue)
      Sets the value of the property that maps to the north element.
      Parameters:
      aValue - the value to set for the NORTH_PROPERTY property.
    • setSouth

      public void setSouth(Double aValue)
      Sets the value of the property that maps to the south element.
      Parameters:
      aValue - the value to set for the SOUTH_PROPERTY property.
    • setEast

      public void setEast(Double aValue)
      Sets the value of the property that maps to the east element.
      Parameters:
      aValue - the value to set for the EAST_PROPERTY property.
    • setWest

      public void setWest(Double aValue)
      Sets the value of the property that maps to the west element.
      Parameters:
      aValue - the value to set for the WEST_PROPERTY property.