org.deegree_impl.model.cs
Class LocalDatum
java.lang.Object
org.deegree_impl.model.cs.Info
org.deegree_impl.model.cs.Datum
org.deegree_impl.model.cs.LocalDatum
- All Implemented Interfaces:
- java.io.Serializable
- public class LocalDatum
- extends Datum
Local datum.
If two local datum objects have the same datum type and name, then they
can be considered equal. This means that coordinates can be transformed
between two different local coordinate systems, as long as they are based
on the same local datum.
- Version:
- 1.00
- Author:
- OpenGIS (www.opengis.org), Martin Desruisseaux
- See Also:
CS_LocalDatum
,
Serialized Form
Field Summary |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
Fields inherited from class org.deegree_impl.model.cs.Datum |
|
Fields inherited from class org.deegree_impl.model.cs.Info |
pool |
Method Summary |
(package private) java.lang.String |
addString(java.lang.StringBuffer buffer)
Fill the part inside "[...]".
|
DatumType |
getDatumType()
Gets the type of the datum as an enumerated code.
|
(package private) java.lang.Object |
toOpenGIS(java.lang.Object adapters)
Returns an OpenGIS interface for this datum.
|
Methods inherited from class org.deegree_impl.model.cs.Info |
addUnit, cachedOpenGIS, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, readResolve, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial number for interoperability with different versions.
- See Also:
- Constant Field Values
LocalDatum
public LocalDatum(java.lang.String name,
DatumType.Local type)
- Creates a local datum.
- Parameters:
name
- Name to give new object.type
- Type of local datum to create.
LocalDatum
LocalDatum(java.util.Map properties,
DatumType type)
- Creates a local datum.
- Parameters:
properties
- The set of properties (see Info
).type
- Type of local datum to create.
getDatumType
public DatumType getDatumType()
- Gets the type of the datum as an enumerated code.
Note: return type will be changed to
DatumType.Local
when we will be able to use generic types (with JDK 1.5).
- Overrides:
getDatumType
in class Datum
- See Also:
CS_Datum.getDatumType()
addString
java.lang.String addString(java.lang.StringBuffer buffer)
- Fill the part inside "[...]".
Used for formatting Well Know Text (WKT).
- Overrides:
addString
in class Datum
toOpenGIS
final java.lang.Object toOpenGIS(java.lang.Object adapters)
- Returns an OpenGIS interface for this datum.
The returned object is suitable for RMI use.
Note: The returned type is a generic
Object
in order
to avoid too early class loading of OpenGIS interface.
- Overrides:
toOpenGIS
in class Datum