public class DefaultEngineeringDatum extends AbstractDatum implements EngineeringDatum
DefaultEngineeringCRS,
GeodeticAuthorityFactory.createEngineeringDatum(String),
Serialized FormDefined in the sis-referencing module
DEPRECATED_KEY, LOCALE_KEYANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Modifier | Constructor and Description |
|---|---|
protected |
DefaultEngineeringDatum(EngineeringDatum datum)
Creates a new datum with the same values than the specified one.
|
|
DefaultEngineeringDatum(Map<String,?> properties)
Creates an engineering datum from the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultEngineeringDatum |
castOrCopy(EngineeringDatum object)
Returns a SIS datum implementation with the same values than the given arbitrary implementation.
|
protected String |
formatTo(Formatter formatter)
Formats this datum as a Well Known Text
EngineeringDatum[…] element. |
Class<? extends EngineeringDatum> |
getInterface()
Returns the GeoAPI interface implemented by this class.
|
castOrCopy, computeHashCode, equals, getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope, isHeuristicMatchForNamecastOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecatedprint, toString, toString, toWKTclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic DefaultEngineeringDatum(Map<String,?> properties)
| Property name | Value type | Returned by |
|---|---|---|
| "name" | ReferenceIdentifier or String |
AbstractIdentifiedObject.getName() |
| "alias" | GenericName or CharSequence (optionally as array) |
AbstractIdentifiedObject.getAlias() |
| "identifiers" | ReferenceIdentifier (optionally as array) |
AbstractIdentifiedObject.getIdentifiers() |
| "remarks" | InternationalString or String |
AbstractIdentifiedObject.getRemarks() |
| "anchorPoint" | InternationalString or String |
AbstractDatum.getAnchorPoint() |
| "realizationEpoch" | Date |
AbstractDatum.getRealizationEpoch() |
| "domainOfValidity" | Extent |
AbstractDatum.getDomainOfValidity() |
| "scope" | InternationalString or String |
AbstractDatum.getScope() |
properties - the properties to be given to the identified object.GeodeticObjectFactory.createEngineeringDatum(Map)protected DefaultEngineeringDatum(EngineeringDatum datum)
This constructor performs a shallow copy, i.e. the properties are not cloned.
datum - the datum to copy.castOrCopy(EngineeringDatum)public static DefaultEngineeringDatum castOrCopy(EngineeringDatum object)
null, then this method returns null.
Otherwise if the given object is already a SIS implementation, then the given object is returned unchanged.
Otherwise a new SIS implementation is created and initialized to the attribute values of the given object.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public Class<? extends EngineeringDatum> getInterface()
EngineeringDatum.class.
EngineeringDatum
sub-interface. Overriding possibility is left mostly for implementors who wish to extend GeoAPI with their
own set of interfaces.getInterface in class AbstractDatumEngineeringDatum.class or a user-defined sub-interface.protected String formatTo(Formatter formatter)
EngineeringDatum[…] element.formatTo in class AbstractDatumformatter - the formatter where to format the inner content of this WKT element."EngineeringDatum" (WKT 2) or "Local_Datum" (WKT 1).Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.