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 boolean
equals(Object object)
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.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.int
hashCode()
void
setFrame(TemporalReferenceSystem frame)
void
setIndeterminatePosition(IndeterminateValue indeterminatePosition)
String
toString()
-
-
-
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:
getIndeterminatePosition
in 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)
-
-