Package org.geotools.temporal.object
Class DefaultTemporalCoordinate
- Object
-
- DefaultTemporalPosition
-
- DefaultTemporalCoordinate
-
- All Implemented Interfaces:
TemporalCoordinate
,TemporalPosition
- Direct Known Subclasses:
DefaultJulianDate
public class DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate
A data type that shall be used for identifying temporal position within a temporal coordinate system.- Author:
- Mehdi Sidhoum (Geomatys)
-
-
Constructor Summary
Constructors Constructor Description DefaultTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number coordinateValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
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(Number coordinateValue)
String
toString()
-
Methods inherited from class DefaultTemporalPosition
getFrame, getIndeterminatePosition, setFrame, setIndeterminatePosition
-
Methods inherited from interface TemporalPosition
getIndeterminatePosition
-
-
-
-
Constructor Detail
-
DefaultTemporalCoordinate
public DefaultTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number coordinateValue)
-
-
Method Detail
-
getCoordinateValue
public 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 interfaceTemporalCoordinate
-
setCoordinateValue
public void setCoordinateValue(Number coordinateValue)
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classDefaultTemporalPosition
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDefaultTemporalPosition
-
toString
public String toString()
- Overrides:
toString
in classDefaultTemporalPosition
-
-