public class TLcdKML22AbstractFeature extends TLcdKML22AbstractObject implements ILcdTimeBounded, ILcdCache
OGC KML Specification description:
Abstract: yes This element can be used wherever the following element is referenced: -kml:AbstractObjectGroup The following elements can be used wherever this element is referenced: -kml:AbstractContainerGroup -kml:Document -kml:Folder -kml:AbstractOverlayGroup -kml:GroundOverlay -kml:ScreenOverlay -kml:PhotoOverlay -kml:Placemark -kml:NetworkLink
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ABSTRACT_FEATURE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractFeatureObjectExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_FEATURE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractFeatureSimpleExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
Data property that maps to the
AbstractStyleSelectorGroup element. |
static TLcdDataProperty |
ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
Data property that maps to the
AbstractTimePrimitiveGroup element. |
static TLcdDataProperty |
ABSTRACT_VIEW_GROUP_PROPERTY
Data property that maps to the
AbstractViewGroup element. |
static TLcdDataProperty |
ADDRESS_DETAILS_PROPERTY
Data property that maps to the
AddressDetails element. |
static TLcdDataProperty |
ADDRESS_PROPERTY
Data property that maps to the
address element. |
static TLcdDataProperty |
ATOM_LINK_PROPERTY
Data property that maps to the
link element. |
static TLcdDataProperty |
AUTHOR_PROPERTY
Data property that maps to the
author element. |
static TLcdDataProperty |
DESCRIPTION_PROPERTY
Data property that maps to the
description element. |
static TLcdDataProperty |
EXTENDED_DATA_PROPERTY
Data property that maps to the choice between the
Metadata and ExtendedData elements. |
static TLcdDataProperty |
NAME_PROPERTY
Data property that maps to the
name element. |
static TLcdDataProperty |
OPEN_PROPERTY
Data property that maps to the
open element. |
static TLcdDataProperty |
PHONE_NUMBER_PROPERTY
Data property that maps to the
phoneNumber element. |
static TLcdDataProperty |
REGION_PROPERTY
Data property that maps to the
Region element. |
static TLcdDataProperty |
SNIPPET_PROPERTY
Data property that maps to the choice between the
Snippet and snippet elements. |
static TLcdDataProperty |
STYLE_URL_PROPERTY
Data property that maps to the
styleUrl element. |
static TLcdDataProperty |
VISIBILITY_PROPERTY
Data property that maps to the
visibility element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22AbstractFeature(TLcdDataType aType)
Creates a new
TLcdKML22AbstractFeature with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the cache.
|
TLcdDataObject |
clone(Map aObjectDictionary)
Returns a deep clone of this object.
|
List<TLcdKML22AbstractStyleSelector> |
getAbstractStyleSelectorGroup()
Returns the value of the property that maps to the
AbstractStyleSelectorGroup element. |
TLcdKML22AbstractTimePrimitive |
getAbstractTimePrimitiveGroup()
Returns the value of the property that maps to the
AbstractTimePrimitiveGroup element. |
TLcdKML22AbstractView |
getAbstractViewGroup()
Returns the value of the property that maps to the
AbstractViewGroup element. |
String |
getAddress()
Returns the value of the property that maps to the
address element. |
ILcdDataObject |
getAddressDetails()
Returns the value of the property that maps to the
AddressDetails element. |
ILcdDataObject |
getAtomLink()
Returns the value of the property that maps to the
link element. |
ILcdDataObject |
getAuthor()
Returns the value of the property that maps to the
author element. |
Object |
getCachedObject(Object aKey)
Looks up and returns the cached Object corresponding to the given key.
|
String |
getDescription()
Returns the value of the property that maps to the
description element. |
ILcdDataObject |
getExtendedData()
Returns the value of the property that maps to the choice between the
Metadata and ExtendedData elements. |
TLcdKML22AbstractStyleSelector |
getInnerStyleSelector()
Returns the inner styleselector of this abstract feature, or null if the abstract feature
doesn't have an inner styleselector.
|
String |
getKMLSourceName()
Gets the source name of the originating KML document of this abstract feature.
|
String |
getName()
Returns the value of the property that maps to the
name element. |
Boolean |
getOpen()
Returns the value of the property that maps to the
open element. |
String |
getPhoneNumber()
Returns the value of the property that maps to the
phoneNumber element. |
TLcdKML22Region |
getRegion()
Returns the value of the property that maps to the
Region element. |
TLcdKML22Snippet |
getSnippet()
Returns the value of the property that maps to the choice between the
Snippet and snippet elements. |
String |
getStyleUrl()
Returns the value of the property that maps to the
styleUrl element. |
ILcdTimeBounds |
getTimeBounds()
Returns the
ILcdTimeBounds by which this object is bounded. |
Boolean |
getVisibility()
Returns the value of the property that maps to the
visibility element. |
void |
insertIntoCache(Object aKey,
Object aObject)
Inserts a cache Object corresponding to the given key Object.
|
Object |
removeCachedObject(Object aKey)
Looks up and removes the cached Object corresponding to the given key.
|
void |
setAbstractTimePrimitiveGroup(TLcdKML22AbstractTimePrimitive aValue)
Sets the value of the property that maps to the
AbstractTimePrimitiveGroup element. |
void |
setAbstractViewGroup(TLcdKML22AbstractView aValue)
Sets the value of the property that maps to the
AbstractViewGroup element. |
void |
setAddress(String aValue)
Sets the value of the property that maps to the
address element. |
void |
setAddressDetails(ILcdDataObject aValue)
Sets the value of the property that maps to the
AddressDetails element. |
void |
setAtomLink(ILcdDataObject aValue)
Sets the value of the property that maps to the
link element. |
void |
setAuthor(ILcdDataObject aValue)
Sets the value of the property that maps to the
author element. |
void |
setDescription(String aValue)
Sets the value of the property that maps to the
description element. |
void |
setExtendedData(ILcdDataObject aValue)
Sets the value of the property that maps to the choice between the
Metadata and ExtendedData elements. |
void |
setKMLSourceName(String aSourceName)
Sets the source name of the originating KML document of this abstract feature.
|
void |
setName(String aValue)
Sets the value of the property that maps to the
name element. |
void |
setOpen(Boolean aValue)
Sets the value of the property that maps to the
open element. |
void |
setPhoneNumber(String aValue)
Sets the value of the property that maps to the
phoneNumber element. |
void |
setRegion(TLcdKML22Region aValue)
Sets the value of the property that maps to the
Region element. |
void |
setSnippet(TLcdKML22Snippet aValue)
Sets the value of the property that maps to the choice between the
Snippet and snippet elements. |
void |
setStyleUrl(String aValue)
Sets the value of the property that maps to the
styleUrl element. |
void |
setVisibility(Boolean aValue)
Sets the value of the property that maps to the
visibility element. |
getId, getTargetId, setId, setTargetId
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
public static final TLcdDataProperty NAME_PROPERTY
name
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty VISIBILITY_PROPERTY
visibility
element.
The possible values for this property are instances of Boolean
.public static final TLcdDataProperty OPEN_PROPERTY
open
element.
The possible values for this property are instances of Boolean
.public static final TLcdDataProperty AUTHOR_PROPERTY
author
element.
The possible values for this property are instances of ILcdDataObject
.public static final TLcdDataProperty ATOM_LINK_PROPERTY
link
element.
The possible values for this property are instances of ILcdDataObject
.public static final TLcdDataProperty ADDRESS_PROPERTY
address
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty ADDRESS_DETAILS_PROPERTY
AddressDetails
element.
The possible values for this property are instances of ILcdDataObject
.public static final TLcdDataProperty PHONE_NUMBER_PROPERTY
phoneNumber
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty SNIPPET_PROPERTY
Snippet
and snippet
elements.
The possible values for this property are instances of
TLcdKML22Snippet
String
public static final TLcdDataProperty DESCRIPTION_PROPERTY
description
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty ABSTRACT_VIEW_GROUP_PROPERTY
AbstractViewGroup
element.
The possible values for this property are instances of TLcdKML22AbstractView
.public static final TLcdDataProperty ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
AbstractTimePrimitiveGroup
element.
The possible values for this property are instances of TLcdKML22AbstractTimePrimitive
.public static final TLcdDataProperty STYLE_URL_PROPERTY
styleUrl
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
AbstractStyleSelectorGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractStyleSelector>
.public static final TLcdDataProperty REGION_PROPERTY
Region
element.
The possible values for this property are instances of TLcdKML22Region
.public static final TLcdDataProperty EXTENDED_DATA_PROPERTY
Metadata
and ExtendedData
elements.
The possible values for this property are instances of
public static final TLcdDataProperty ABSTRACT_FEATURE_SIMPLE_EXTENSION_GROUP_PROPERTY
AbstractFeatureSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ABSTRACT_FEATURE_OBJECT_EXTENSION_GROUP_PROPERTY
AbstractFeatureObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22AbstractFeature(TLcdDataType aType)
TLcdKML22AbstractFeature
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public Boolean getVisibility()
visibility
element.VISIBILITY_PROPERTY
property.public String getKMLSourceName()
public void setKMLSourceName(String aSourceName)
aSourceName
- the new source name of the document in which this abstract feature residespublic TLcdKML22AbstractStyleSelector getInnerStyleSelector()
public ILcdTimeBounds getTimeBounds()
ILcdTimeBounded
ILcdTimeBounds
by which this object is bounded.getTimeBounds
in interface ILcdTimeBounded
ILcdTimeBounds
by which this object is bounded.public void insertIntoCache(Object aKey, Object aObject)
ILcdCache
insertIntoCache
in interface ILcdCache
aKey
- the key Object that will be used to identify the Object.
The key must therefore be a unique identifier, typically the caller
itself: insertIntoCache(this, ...)
.aObject
- the Object to be cached.public Object getCachedObject(Object aKey)
ILcdCache
getCachedObject
in interface ILcdCache
aKey
- the key Object that was used for storing the cache Object.public Object removeCachedObject(Object aKey)
ILcdCache
removeCachedObject
in interface ILcdCache
aKey
- the key Object that was used for storing the cache Object.public void clearCache()
ILcdCache
clearCache
in interface ILcdCache
public TLcdDataObject clone(Map aObjectDictionary)
TLcdDataObject
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.ILcdDeepCloneable
or
ILcdCloneable
then this interface is used to clone the value.clone
in interface ILcdDeepCloneable
clone
in class TLcdDataObject
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made,
and their corresponding clone Object.public String getName()
name
element.NAME_PROPERTY
property.public void setName(String aValue)
name
element.aValue
- the value to set for the NAME_PROPERTY
property.public void setVisibility(Boolean aValue)
visibility
element.aValue
- the value to set for the VISIBILITY_PROPERTY
property.public Boolean getOpen()
open
element.OPEN_PROPERTY
property.public void setOpen(Boolean aValue)
open
element.aValue
- the value to set for the OPEN_PROPERTY
property.public ILcdDataObject getAuthor()
author
element.AUTHOR_PROPERTY
property.public void setAuthor(ILcdDataObject aValue)
author
element.aValue
- the value to set for the AUTHOR_PROPERTY
property.public ILcdDataObject getAtomLink()
link
element.ATOM_LINK_PROPERTY
property.public void setAtomLink(ILcdDataObject aValue)
link
element.aValue
- the value to set for the ATOM_LINK_PROPERTY
property.public String getAddress()
address
element.ADDRESS_PROPERTY
property.public void setAddress(String aValue)
address
element.aValue
- the value to set for the ADDRESS_PROPERTY
property.public ILcdDataObject getAddressDetails()
AddressDetails
element.
This container defines the details of the address. Can define multiple addresses including tracking address history
ADDRESS_DETAILS_PROPERTY
property.public void setAddressDetails(ILcdDataObject aValue)
AddressDetails
element.
This container defines the details of the address. Can define multiple addresses including tracking address history
aValue
- the value to set for the ADDRESS_DETAILS_PROPERTY
property.public String getPhoneNumber()
phoneNumber
element.PHONE_NUMBER_PROPERTY
property.public void setPhoneNumber(String aValue)
phoneNumber
element.aValue
- the value to set for the PHONE_NUMBER_PROPERTY
property.public TLcdKML22Snippet getSnippet()
Snippet
and snippet
elements.
The possible values for this property are instances of
TLcdKML22Snippet
String
SNIPPET_PROPERTY
property.public void setSnippet(TLcdKML22Snippet aValue)
Snippet
and snippet
elements.
The possible values for this property are instances of
TLcdKML22Snippet
String
aValue
- the value to set for the SNIPPET_PROPERTY
property.public String getDescription()
description
element.DESCRIPTION_PROPERTY
property.public void setDescription(String aValue)
description
element.aValue
- the value to set for the DESCRIPTION_PROPERTY
property.public TLcdKML22AbstractView getAbstractViewGroup()
AbstractViewGroup
element.ABSTRACT_VIEW_GROUP_PROPERTY
property.public void setAbstractViewGroup(TLcdKML22AbstractView aValue)
AbstractViewGroup
element.aValue
- the value to set for the ABSTRACT_VIEW_GROUP_PROPERTY
property.public TLcdKML22AbstractTimePrimitive getAbstractTimePrimitiveGroup()
AbstractTimePrimitiveGroup
element.ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
property.public void setAbstractTimePrimitiveGroup(TLcdKML22AbstractTimePrimitive aValue)
AbstractTimePrimitiveGroup
element.aValue
- the value to set for the ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
property.public String getStyleUrl()
styleUrl
element.STYLE_URL_PROPERTY
property.public void setStyleUrl(String aValue)
styleUrl
element.aValue
- the value to set for the STYLE_URL_PROPERTY
property.public List<TLcdKML22AbstractStyleSelector> getAbstractStyleSelectorGroup()
AbstractStyleSelectorGroup
element.ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
property.public TLcdKML22Region getRegion()
Region
element.REGION_PROPERTY
property.public void setRegion(TLcdKML22Region aValue)
Region
element.aValue
- the value to set for the REGION_PROPERTY
property.public ILcdDataObject getExtendedData()
Metadata
and ExtendedData
elements.
The possible values for this property are instances of
EXTENDED_DATA_PROPERTY
property.public void setExtendedData(ILcdDataObject aValue)
Metadata
and ExtendedData
elements.
The possible values for this property are instances of
aValue
- the value to set for the EXTENDED_DATA_PROPERTY
property.