public class TLcdGML31TimeInstant extends TLcdGML31AbstractTimeGeometricPrimitive
position
in time.Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
TIME_POSITION_PROPERTY
Data property that maps to the
timePosition element. |
FRAME_PROPERTY
RELATED_TIME_PROPERTY
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
TLcdGML31TimeInstant() |
TLcdGML31TimeInstant(TLcdDataType aType) |
TLcdGML31TimeInstant(TLcdGML31TimePosition aPosition)
Convenience constructor that initializes the instant with the given position.
|
Modifier and Type | Method and Description |
---|---|
TLcdGML31TimePosition |
getTimePosition()
Returns the value of the property that maps to the
timePosition element. |
void |
setTimePosition(TLcdGML31TimePosition aValue)
Sets the value of the property that maps to the
timePosition element. |
getFrame, setFrame
getRelatedTime
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
public static final TLcdDataProperty TIME_POSITION_PROPERTY
timePosition
element.
The possible values for this property are instances of TLcdGML31TimePosition
.public TLcdGML31TimeInstant()
public TLcdGML31TimeInstant(TLcdDataType aType)
public TLcdGML31TimeInstant(TLcdGML31TimePosition aPosition)
aPosition
- to time position to usepublic TLcdGML31TimePosition getTimePosition()
timePosition
element.
Direct representation of a temporal position
TIME_POSITION_PROPERTY
property.public void setTimePosition(TLcdGML31TimePosition aValue)
timePosition
element.
Direct representation of a temporal position
aValue
- the value to set for the TIME_POSITION_PROPERTY
property.