Package org.geotools.temporal.reference
Class DefaultTemporalReferenceSystem
Object
DefaultTemporalReferenceSystem
- All Implemented Interfaces:
IdentifiedObject,ReferenceSystem,TemporalReferenceSystem
- Direct Known Subclasses:
DefaultCalendar,DefaultClock,DefaultOrdinalReferenceSystem,DefaultTemporalCoordinateSystem
- Author:
- Mehdi Sidhoum (Geomatys)
-
Field Summary
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity) Creates a new instance of TemporalReferenceSystem by passing a ReferenceIdentifier name and a domain of validity. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAlias()An alternative name by which this object is identified.Identifies the space and time within which the reference system is applicable.An identifier which references elsewhere the object's defining information.getName()Provides a name that uniquely identifies the temporal referece system.Comments on or information about this object, including data source information.getScope()Description of domain of usage, or limitations of usage, for which this (coordinate) reference system object is valid.inthashCode()voidsetDomainOfValidity(Extent domainOfValidity) voidsetName(ReferenceIdentifier name) This is a name that uniquely identifies the temporal reference system.voidsetScope(InternationalString scope) voidsetValidArea(Extent validArea) toString()toWKT()Returns a Well Known Text (WKT) for this object.
-
Constructor Details
-
DefaultTemporalReferenceSystem
Creates a new instance of TemporalReferenceSystem by passing a ReferenceIdentifier name and a domain of validity.
-
-
Method Details
-
getName
Description copied from interface:TemporalReferenceSystemProvides a name that uniquely identifies the temporal referece system.Currently returns MD_Identifier, which is defined in ISO 19115, while ISO 19108 requires that RS_Identifier (defined in ISO 19111 and http://www.opengis.org/docs/03-073r1.zip) is returned. From the looks of it, org.geotools.api.referencing.ReferenceSystem could also fit the bill.
- Specified by:
getNamein interfaceIdentifiedObject- Specified by:
getNamein interfaceTemporalReferenceSystem- Returns:
ReferenceIdentifierfor the temporal reference system
-
getDomainOfValidity
Description copied from interface:TemporalReferenceSystemIdentifies the space and time within which the reference system is applicable. The return type allows for describing both spatial and temporal extent. This attribute shall be used whenever an application schema includesTemporalPositions referenced to a reference system which has a valid extent that is less than the extent of a data set containing such values.Please note this is very similar to ReferenceSystem.getValidArea() from ISO 19115.
- Specified by:
getDomainOfValidityin interfaceReferenceSystem- Specified by:
getDomainOfValidityin interfaceTemporalReferenceSystem- Returns:
- The reference system valid domain, or
nullif not available.
-
getScope
Description copied from interface:ReferenceSystemDescription of domain of usage, or limitations of usage, for which this (coordinate) reference system object is valid.- Specified by:
getScopein interfaceReferenceSystem- Returns:
- The domain of usage, or
nullif none.
-
getAlias
Description copied from interface:IdentifiedObjectAn alternative name by which this object is identified.- Specified by:
getAliasin interfaceIdentifiedObject- Returns:
- The aliases, or an empty collection if there is none.
-
getIdentifiers
Description copied from interface:IdentifiedObjectAn identifier which references elsewhere the object's defining information. Alternatively an identifier by which this object can be referenced.- Specified by:
getIdentifiersin interfaceIdentifiedObject- Returns:
- This object identifiers, or an empty set if there is none.
-
getRemarks
Description copied from interface:IdentifiedObjectComments on or information about this object, including data source information.- Specified by:
getRemarksin interfaceIdentifiedObject- Returns:
- The remarks, or
nullif none.
-
toWKT
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- Returns:
- The Well Know Text for this object.
- Throws:
UnsupportedOperationException- If this object can't be formatted as WKT.
-
setName
This is a name that uniquely identifies the temporal reference system. -
setDomainOfValidity
-
setValidArea
-
setScope
-
equals
-
hashCode
public int hashCode() -
toString
-