Class TLcdKML22BasicLink

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable
Direct Known Subclasses:
TLcdKML22Link

public class TLcdKML22BasicLink extends TLcdKML22AbstractObject
Domain class modeling the KML BasicLinkType type.

Since:
10.0
  • Field Details

    • HREF_PROPERTY

      public static final TLcdDataProperty HREF_PROPERTY
      Data property that maps to the href element. The possible values for this property are instances of String.
  • Constructor Details

    • TLcdKML22BasicLink

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

    • setKMLSourceName

      public void setKMLSourceName(String aKMLSourceName)
      Sets the source name of the KML document that contains this basic link.
      Parameters:
      aKMLSourceName - the source name of the KML document that contains this basic link.
    • getKMLSourceName

      public String getKMLSourceName()
      Gets the source name of the KML document that contains this basic link.
      Returns:
      the source name of the KML document that contains this basic link.
    • 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
    • getHref

      public String getHref()
      Returns the value of the property that maps to the href element.

      not anyURI due to $[x] substitution in PhotoOverlay

      Returns:
      the value of the HREF_PROPERTY property.
    • setHref

      public void setHref(String aValue)
      Sets the value of the property that maps to the href element.

      not anyURI due to $[x] substitution in PhotoOverlay

      Parameters:
      aValue - the value to set for the HREF_PROPERTY property.