| org.geotools.referencing.AbstractIdentifiedObject org.geotools.referencing.datum.AbstractDatum org.geotools.referencing.datum.DefaultTemporalDatum
DefaultTemporalDatum | public class DefaultTemporalDatum extends AbstractDatum implements TemporalDatum(Code) | | A temporal datum defines the origin of a temporal coordinate reference system.
version: $Id: DefaultTemporalDatum.java 20874 2006-08-07 10:00:01Z jgarnett $ author: Martin Desruisseaux since: 2.1 |
Field Summary | |
final public static DefaultTemporalDatum | UNIX Default datum for time measured since January 1st, 1970 at 00:00 UTC. |
Constructor Summary | |
public | DefaultTemporalDatum(TemporalDatum datum) Constructs a new datum with the same values than the specified one.
This copy constructor provides a way to wrap an arbitrary implementation into a
Geotools one or a user-defined one (as a subclass), usually in order to leverage
some implementation-specific API. | public | DefaultTemporalDatum(String name, Date origin) Constructs a temporal datum from a name. | public | DefaultTemporalDatum(Map properties, Date origin) Constructs a temporal datum from a set of properties. |
Method Summary | |
public boolean | equals(AbstractIdentifiedObject object, boolean compareMetadata) Compare this temporal datum with the specified object for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. | public InternationalString | getAnchorPoint() Description of the point or points used to anchor the datum to the Earth. | public Date | getOrigin() The date and time origin of this temporal datum. | public Date | getRealizationEpoch() The time after which this datum definition is valid. | public int | hashCode() Returns a hash value for this temporal datum. |
DefaultTemporalDatum | public DefaultTemporalDatum(TemporalDatum datum)(Code) | | Constructs a new datum with the same values than the specified one.
This copy constructor provides a way to wrap an arbitrary implementation into a
Geotools one or a user-defined one (as a subclass), usually in order to leverage
some implementation-specific API. This constructor performs a shallow copy,
i.e. the properties are not cloned.
since: 2.2 |
DefaultTemporalDatum | public DefaultTemporalDatum(String name, Date origin)(Code) | | Constructs a temporal datum from a name.
Parameters: name - The datum name. Parameters: origin - The date and time origin of this temporal datum. |
DefaultTemporalDatum | public DefaultTemporalDatum(Map properties, Date origin)(Code) | | Constructs a temporal datum from a set of properties. The properties map is given
unchanged to the
.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: origin - The date and time origin of this temporal datum. |
equals | public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code) | | Compare this temporal datum with the specified object for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. true if both objects are equal. |
getAnchorPoint | public InternationalString getAnchorPoint()(Code) | | Description of the point or points used to anchor the datum to the Earth.
|
getOrigin | public Date getOrigin()(Code) | | The date and time origin of this temporal datum.
The date and time origin of this temporal datum. |
getRealizationEpoch | public Date getRealizationEpoch()(Code) | | The time after which this datum definition is valid.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this temporal datum.
,
and the like are not taken in account. In
other words, two temporal datums will return the same hash value if they
are equal in the sense of
DefaultTemporalDatum.equals equals (AbstractIdentifiedObject, false) .
The hash code value. This value doesn't need to be the samein past or future versions of this class. |
Methods inherited from org.geotools.referencing.AbstractIdentifiedObject | protected static Set asSet(Object[] array)(Code)(Java Doc) protected static void ensureAngularUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureLinearUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureTimeUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) final public boolean equals(Object object)(Code)(Java Doc) public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject object1, IdentifiedObject object2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject[] array1, IdentifiedObject[] array2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(Collection collection1, Collection collection2, boolean compareMetadata)(Code)(Java Doc) public Collection getAlias()(Code)(Java Doc) public ReferenceIdentifier getIdentifier(Citation authority)(Code)(Java Doc) public static ReferenceIdentifier getIdentifier(IdentifiedObject info, Citation authority)(Code)(Java Doc) public Set getIdentifiers()(Code)(Java Doc) public ReferenceIdentifier getName()(Code)(Java Doc) public String getName(Citation authority)(Code)(Java Doc) public static String getName(IdentifiedObject info, Citation authority)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info, Citation authority)(Code)(Java Doc) public InternationalString getRemarks()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean nameMatches(String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject object, String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject o1, IdentifiedObject o2)(Code)(Java Doc)
|
|
|