Package com.luciad.format.gml31.model
Class TLcdGML31TimeInstant
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,ILcdFeatured,ILcdSelfDescribedFeatured,Serializable,Cloneable
A zero-dimensional geometric primitive that represents an identifiable
position in time.- Since:
- 10.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thetimePositionelement.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractTimeGeometricPrimitive
FRAME_PROPERTYFields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractTimePrimitive
RELATED_TIME_PROPERTYFields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdGML31TimeInstant(TLcdDataType aType) TLcdGML31TimeInstant(TLcdGML31TimePosition aPosition) Convenience constructor that initializes the instant with the given position. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thetimePositionelement.voidsetTimePosition(TLcdGML31TimePosition aValue) Sets the value of the property that maps to thetimePositionelement.toString()Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractTimeGeometricPrimitive
getFrame, setFrameMethods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractTimePrimitive
getRelatedTimeMethods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setIdMethods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeatureMethods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Field Details
-
TIME_POSITION_PROPERTY
Data property that maps to thetimePositionelement. The possible values for this property are instances ofTLcdGML31TimePosition.
-
-
Constructor Details
-
TLcdGML31TimeInstant
public TLcdGML31TimeInstant() -
TLcdGML31TimeInstant
-
TLcdGML31TimeInstant
Convenience constructor that initializes the instant with the given position.- Parameters:
aPosition- to time position to use- Since:
- 2018.0
-
-
Method Details
-
toString
- Overrides:
toStringin classTLcdDataObject
-
getTimePosition
Returns the value of the property that maps to thetimePositionelement.Direct representation of a temporal position
- Returns:
- the value of the
TIME_POSITION_PROPERTYproperty.
-
setTimePosition
Sets the value of the property that maps to thetimePositionelement.Direct representation of a temporal position
- Parameters:
aValue- the value to set for theTIME_POSITION_PROPERTYproperty.
-