Package org.geotools.temporal.reference
Class DefaultOrdinalReferenceSystem
- Object
-
- DefaultTemporalReferenceSystem
-
- DefaultOrdinalReferenceSystem
-
- All Implemented Interfaces:
IdentifiedObject,ReferenceSystem,OrdinalReferenceSystem,TemporalReferenceSystem
public class DefaultOrdinalReferenceSystem extends DefaultTemporalReferenceSystem implements OrdinalReferenceSystem
- Author:
- Mehdi Sidhoum (Geomatys)
-
-
Field Summary
-
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Fields inherited from interface ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
-
-
Constructor Summary
Constructors Constructor Description DefaultOrdinalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity, Collection<OrdinalEra> ordinalEraSequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Collection<OrdinalEra>getOrdinalEraSequence()Get the set of ordinal eras of which this ordinal reference system consists of.inthashCode()StringtoString()StringtoWKT()Returns a Well Known Text (WKT) for this object.-
Methods inherited from class DefaultTemporalReferenceSystem
getAlias, getDomainOfValidity, getIdentifiers, getName, getRemarks, getScope, setDomainOfValidity, setName, setScope, setValidArea
-
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getRemarks
-
Methods inherited from interface ReferenceSystem
getScope
-
Methods inherited from interface TemporalReferenceSystem
getDomainOfValidity, getName
-
-
-
-
Constructor Detail
-
DefaultOrdinalReferenceSystem
public DefaultOrdinalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity, Collection<OrdinalEra> ordinalEraSequence)
-
-
Method Detail
-
getOrdinalEraSequence
public Collection<OrdinalEra> getOrdinalEraSequence()
Description copied from interface:OrdinalReferenceSystemGet the set of ordinal eras of which this ordinal reference system consists of.- Specified by:
getOrdinalEraSequencein interfaceOrdinalReferenceSystem- Returns:
- A hierarchically-structured collection of ordinal eras.
-
toWKT
public String toWKT() throws UnsupportedOperationException
Description copied from interface:IdentifiedObjectReturns a Well Known Text (WKT) for this object. This operation may fails if an object is too complex for the WKT format capability (for example an engineering CRS with different unit for each axis).- Specified by:
toWKTin interfaceIdentifiedObject- Overrides:
toWKTin classDefaultTemporalReferenceSystem- Returns:
- The Well Know Text for this object.
- Throws:
UnsupportedOperationException- If this object can't be formatted as WKT.
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classDefaultTemporalReferenceSystem
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDefaultTemporalReferenceSystem
-
toString
public String toString()
- Overrides:
toStringin classDefaultTemporalReferenceSystem
-
-