org.geotools.temporal.object
Class DefaultTemporalPosition

java.lang.Object
  extended by org.geotools.temporal.object.DefaultTemporalPosition
All Implemented Interfaces:
org.opengis.temporal.TemporalPosition
Direct Known Subclasses:
DefaultCalendarDate, DefaultClockTime, DefaultDateAndTime, DefaultOrdinalPosition, DefaultTemporalCoordinate

public class DefaultTemporalPosition
extends java.lang.Object
implements org.opengis.temporal.TemporalPosition

Used for describing temporal positions referenced to other temporal reference systems.

Author:
Mehdi Sidhoum (Geomatys)

Constructor Summary
DefaultTemporalPosition(org.opengis.temporal.TemporalReferenceSystem frame, org.opengis.temporal.IndeterminateValue indeterminatePosition)
          Creates a new instance from a TemporalReferenceSystem and an IndeterminateValue
 
Method Summary
 boolean equals(java.lang.Object object)
           
 org.opengis.temporal.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.
 org.opengis.temporal.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(org.opengis.temporal.TemporalReferenceSystem frame)
           
 void setIndeterminatePosition(org.opengis.temporal.IndeterminateValue indeterminatePosition)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTemporalPosition

public DefaultTemporalPosition(org.opengis.temporal.TemporalReferenceSystem frame,
                               org.opengis.temporal.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 org.opengis.temporal.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 org.opengis.temporal.TemporalPosition

getFrame

public org.opengis.temporal.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(org.opengis.temporal.TemporalReferenceSystem frame)

setIndeterminatePosition

public void setIndeterminatePosition(org.opengis.temporal.IndeterminateValue indeterminatePosition)

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.