org.geotools.temporal.object
Class DefaultTemporalPosition

Object
  extended by 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
DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition)
          Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue
 
Method Summary
 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 of TemporalPosition, 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()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTemporalPosition

public DefaultTemporalPosition(TemporalReferenceSystem frame,
                               IndeterminateValue indeterminatePosition)
Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue

Parameters:
frame - cannot be @CODE null
indeterminatePosition - can be @CODE NULL if none.
Method Detail

getIndeterminatePosition

public IndeterminateValue getIndeterminatePosition()
When this attribute is used with a subtype of TemporalPosition, it provides a qualifier to the specific value for temporal position provided by the subtype.

Specified by:
getIndeterminatePosition in interface TemporalPosition

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.

Returns:

setFrame

public void setFrame(TemporalReferenceSystem frame)

setIndeterminatePosition

public void setIndeterminatePosition(IndeterminateValue indeterminatePosition)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.