Class TLcdKML22BasicLink
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22BasicLink
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdKML22Link
Domain class modeling the KML BasicLinkType type.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theBasicLinkObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theBasicLinkSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thehref
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22BasicLink
(TLcdDataType aType) Creates a newTLcdKML22Change
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns a deep clone of this object.getHref()
Returns the value of the property that maps to thehref
element.Gets the source name of the KML document that contains this basic link.void
Sets the value of the property that maps to thehref
element.void
setKMLSourceName
(String aKMLSourceName) Sets the source name of the KML document that contains this basic link.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
-
Field Details
-
HREF_PROPERTY
Data property that maps to thehref
element. The possible values for this property are instances ofString
. -
BASIC_LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
BASIC_LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22BasicLink
Creates a newTLcdKML22Change
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
setKMLSourceName
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
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
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 thevalue.getDataType().newInstance()
method, and then cloning its properties one by one. - If the value implements
ILcdDeepCloneable
orILcdCloneable
then this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clone
in interfaceILcdDeepCloneable
- Overrides:
clone
in classTLcdDataObject
- 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
Returns the value of the property that maps to thehref
element.not anyURI due to $[x] substitution in PhotoOverlay
- Returns:
- the value of the
HREF_PROPERTY
property.
-
setHref
Sets the value of the property that maps to thehref
element.not anyURI due to $[x] substitution in PhotoOverlay
- Parameters:
aValue
- the value to set for theHREF_PROPERTY
property.
-