org.geotools.temporal.object
Class DefaultTemporalCoordinate

java.lang.Object
  extended by org.geotools.temporal.object.DefaultTemporalPosition
      extended by org.geotools.temporal.object.DefaultTemporalCoordinate
All Implemented Interfaces:
org.opengis.temporal.TemporalCoordinate, org.opengis.temporal.TemporalPosition
Direct Known Subclasses:
DefaultJulianDate

public class DefaultTemporalCoordinate
extends DefaultTemporalPosition
implements org.opengis.temporal.TemporalCoordinate

A data type that shall be used for identifying temporal position within a temporal coordinate system.

Author:
Mehdi Sidhoum (Geomatys)

Constructor Summary
DefaultTemporalCoordinate(org.opengis.temporal.TemporalReferenceSystem frame, org.opengis.temporal.IndeterminateValue indeterminatePosition, java.lang.Number coordinateValue)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.Number getCoordinateValue()
          Returns the distance from the scale origin expressed as a multiple of the standard interval associated with the temporal coordinate system.
 int hashCode()
           
 void setCoordinateValue(java.lang.Number coordinateValue)
           
 java.lang.String toString()
           
 
Methods inherited from class org.geotools.temporal.object.DefaultTemporalPosition
getFrame, getIndeterminatePosition, setFrame, setIndeterminatePosition
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.temporal.TemporalPosition
getIndeterminatePosition
 

Constructor Detail

DefaultTemporalCoordinate

public DefaultTemporalCoordinate(org.opengis.temporal.TemporalReferenceSystem frame,
                                 org.opengis.temporal.IndeterminateValue indeterminatePosition,
                                 java.lang.Number coordinateValue)
Method Detail

getCoordinateValue

public java.lang.Number getCoordinateValue()
Returns the distance from the scale origin expressed as a multiple of the standard interval associated with the temporal coordinate system.

Specified by:
getCoordinateValue in interface org.opengis.temporal.TemporalCoordinate

setCoordinateValue

public void setCoordinateValue(java.lang.Number coordinateValue)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class DefaultTemporalPosition

toString

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


Copyright © 1996-2010 Geotools. All Rights Reserved.