Class TLcdAIXM51Feature<T extends TLcdAIXM51AbstractAIXMTimeSlice>
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.gml32.model.TLcdGML32AbstractGML
com.luciad.format.gml32.model.TLcdGML32AbstractFeature
com.luciad.format.gml32.model.TLcdGML32DynamicFeature
com.luciad.format.aixm51.model.abstractfeature.TLcdAIXM51AbstractAIXMFeatureBase
com.luciad.format.aixm51.model.abstractfeature.TLcdAIXM51AbstractAIXMFeature
com.luciad.format.aixm51.model.abstractfeature.TLcdAIXM51Feature<T>
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdShape
,ILcdShapeList
,ILcdCache
,ILcdCloneable
,ILcdDeepCloneable
,ILcdInvalidateable
,Serializable
,Cloneable
public class TLcdAIXM51Feature<T extends TLcdAIXM51AbstractAIXMTimeSlice>
extends TLcdAIXM51AbstractAIXMFeature
Model class for AIXM51 features. This class adds extra methods to
TLcdAIXM51AbstractAIXMFeature
and parameterizes the type of time slice that is
contained in the feature. It is recommended to use this class whenever you work with AIXM 5.1
features.- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theboundedBy
element.static final TLcdDataProperty
Data property that maps to thefeatureMetadata
element.static final TLcdDataProperty
Data property that maps to thelocation
element.Fields inherited from class com.luciad.format.gml32.model.TLcdGML32DynamicFeature
DATA_SOURCE_PROPERTY, DATA_SOURCE_REFERENCE_PROPERTY, HISTORY_PROPERTY, VALID_TIME_PROPERTY
Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdAIXM51Feature
(TLcdDataType aType) Constructs a new instance for the given type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theboundedBy
element.Returns the time slice provider that is used by this feature to determine the time slice that can generally be used whenever a time slice is needed that describes the feature state that is applicable for the application.Returns the value of the property that maps to thefeatureMetadata
element.Returns the value of the property that maps to thelocation
element.Returns a list of the time slices of this featurevoid
setBoundedBy
(TLcdGML32BoundingShape aValue) Sets the value of the property that maps to theboundedBy
element.void
Sets the time slice provider that will be used by this feature to determine the time slice that should be used whenever a time slice is needed that describes the feature state that is applicable for the application.void
Sets the value of the property that maps to thefeatureMetadata
element.void
setLocation
(Object aValue) Sets the value of the property that maps to thelocation
element.Methods inherited from class com.luciad.format.aixm51.model.abstractfeature.TLcdAIXM51AbstractAIXMFeature
clearCache, clone, collectShapes, getBounds, getCachedObject, getFocusPoint, getGeometryFilter, getTimeSlices, insertIntoCache, removeCachedObject, setGeometryFilter, shapesChanged
Methods inherited from class com.luciad.format.gml32.model.TLcdGML32DynamicFeature
getDataSource, getDataSourceReference, getHistory, getValidTime, setDataSource, setDataSourceReference, setHistory, setValidTime
Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractFeature
clone, contains2D, contains2D, contains3D, contains3D, getShape, getShapeCount, invalidateObject
Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
Methods inherited from class com.luciad.datamodel.TLcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D
Methods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Field Details
-
FEATURE_METADATA_PROPERTY
Data property that maps to thefeatureMetadata
element. The possible values for this property are instances ofTLcdAIXM51FeatureMetadataProperty
. -
BOUNDED_BY_PROPERTY
Data property that maps to theboundedBy
element. The possible values for this property are instances ofTLcdGML32BoundingShape
. -
LOCATION_PROPERTY
Data property that maps to thelocation
element. The possible values for this property are instances ofTLcdGML32LocationProperty
.
-
-
Constructor Details
-
TLcdAIXM51Feature
Constructs a new instance for the given type. This type should extendTLcdAIXM51DataTypes.AbstractAIXMFeatureType
.- Parameters:
aType
- the type for which to create a new instance
-
-
Method Details
-
getTimeSlice
Returns a list of the time slices of this feature- Returns:
- the list of time slices of this feature
-
setDefaultTimeSliceProvider
Sets the time slice provider that will be used by this feature to determine the time slice that should be used whenever a time slice is needed that describes the feature state that is applicable for the application. This time slice provider will only be used whenever no other time slice provider is available. By default the time slice provider is set to an instance ofTLcdAIXM51TimeSliceProvider
.- Parameters:
aProvider
- A valid time slice provider, should not be null.- Since:
- 10.1
-
getDefaultTimeSliceProvider
Returns the time slice provider that is used by this feature to determine the time slice that can generally be used whenever a time slice is needed that describes the feature state that is applicable for the application. This time slice provider is to be used only when no other time slice provider is available. For instance a painter can specify a view dependent time slice provider that overrides this default.- Returns:
- A time slice provider, never null.
- Since:
- 10.1
-
getFeatureMetadata
Returns the value of the property that maps to thefeatureMetadata
element.- Returns:
- the value of the
FEATURE_METADATA_PROPERTY
property.
-
setFeatureMetadata
Sets the value of the property that maps to thefeatureMetadata
element.- Parameters:
aValue
- the value to set for theFEATURE_METADATA_PROPERTY
property.
-
getBoundedBy
Returns the value of the property that maps to theboundedBy
element.This property describes the minimum bounding box or rectangle that encloses the entire feature.
- Returns:
- the value of the
BOUNDED_BY_PROPERTY
property.
-
setBoundedBy
Sets the value of the property that maps to theboundedBy
element.This property describes the minimum bounding box or rectangle that encloses the entire feature.
- Parameters:
aValue
- the value to set for theBOUNDED_BY_PROPERTY
property.
-
getLocation
Returns the value of the property that maps to thelocation
element.- Returns:
- the value of the
LOCATION_PROPERTY
property. - See Also:
-
setLocation
Sets the value of the property that maps to thelocation
element.- Parameters:
aValue
- the value to set for theLOCATION_PROPERTY
property.
-