Package org.geotools.temporal.object
Class DefaultTemporalPosition
- Object
-
- DefaultTemporalPosition
-
- All Implemented Interfaces:
TemporalPosition
- Direct Known Subclasses:
DefaultCalendarDate,DefaultClockTime,DefaultDateAndTime,DefaultOrdinalPosition,DefaultTemporalCoordinate
public class DefaultTemporalPosition extends Object implements TemporalPosition
Used for describing temporal positions referenced to other temporal reference systems.- Author:
- Mehdi Sidhoum (Geomatys)
-
-
Constructor Summary
Constructors Constructor Description DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition)Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)TemporalReferenceSystemgetFrame()Returns the TM_ReferenceSystem associated with this TM_TemporalPosition, if not specified, it is assumed to be an association to the Gregorian calendar and UTC.IndeterminateValuegetIndeterminatePosition()When this attribute is used with a subtype ofTemporalPosition, it provides a qualifier to the specific value for temporal position provided by the subtype.inthashCode()voidsetFrame(TemporalReferenceSystem frame)voidsetIndeterminatePosition(IndeterminateValue indeterminatePosition)StringtoString()
-
-
-
Constructor Detail
-
DefaultTemporalPosition
public DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition)
Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue- Parameters:
frame- cannot be @CODE nullindeterminatePosition- can be @CODE NULL if none.
-
-
Method Detail
-
getIndeterminatePosition
public IndeterminateValue getIndeterminatePosition()
When this attribute is used with a subtype ofTemporalPosition, it provides a qualifier to the specific value for temporal position provided by the subtype.- Specified by:
getIndeterminatePositionin interfaceTemporalPosition
-
getFrame
public TemporalReferenceSystem getFrame()
Returns the TM_ReferenceSystem associated with this TM_TemporalPosition, if not specified, it is assumed to be an association to the Gregorian calendar and UTC.
-
setFrame
public void setFrame(TemporalReferenceSystem frame)
-
setIndeterminatePosition
public void setIndeterminatePosition(IndeterminateValue indeterminatePosition)
-
-