Package com.luciad.format.gml32.model
Class TLcdGML32TimeInstant
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
A zero-dimensional geometric primitive that represents an identifiable
position in time.- Since:
- 10.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thetimePositionelement.Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimeGeometricPrimitive
FRAME_PROPERTYFields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimePrimitive
RELATED_TIME_PROPERTYFields 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
ConstructorsConstructorDescriptionTLcdGML32TimeInstant(TLcdDataType aType) TLcdGML32TimeInstant(TLcdGML32TimePosition 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(TLcdGML32TimePosition aValue) Sets the value of the property that maps to thetimePositionelement.toString()Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimeGeometricPrimitive
getFrame, setFrameMethods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimePrimitive
getRelatedTimeMethods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifierMethods 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 ofTLcdGML32TimePosition.
-
-
Constructor Details
-
TLcdGML32TimeInstant
public TLcdGML32TimeInstant() -
TLcdGML32TimeInstant
-
TLcdGML32TimeInstant
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.This element is used directly as a property of gml:TimeInstant (see 15.2.2.3), and may also be used in application schemas.
- Returns:
- the value of the
TIME_POSITION_PROPERTYproperty.
-
setTimePosition
Sets the value of the property that maps to thetimePositionelement.This element is used directly as a property of gml:TimeInstant (see 15.2.2.3), and may also be used in application schemas.
- Parameters:
aValue- the value to set for theTIME_POSITION_PROPERTYproperty.
-