Package org.geotools.temporal.object
Class DefaultTemporalPosition
Object
DefaultTemporalPosition
- All Implemented Interfaces:
TemporalPosition
- Direct Known Subclasses:
DefaultCalendarDate
,DefaultClockTime
,DefaultDateAndTime
,DefaultOrdinalPosition
,DefaultTemporalCoordinate
Used for describing temporal positions referenced to other temporal reference systems.
- Author:
- Mehdi Sidhoum (Geomatys)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTemporalPosition
(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition) Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.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) toString()
-
Constructor Details
-
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 Details
-
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
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
-
setIndeterminatePosition
-
equals
-
hashCode
public int hashCode() -
toString
-