|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectEnumeratedParameter
org.deegree_impl.model.cs.DatumType
Type of the datum expressed as an enumerated value. The enumeration is split into ranges which indicate the datum's type. The value should be one of the predefined values, or within the range for local types. This will allow OpenGIS Consortium to coordinate the addition of new interoperable codes.
CS_DatumType,
Serialized Form| Nested Class Summary | |
static class |
DatumType.Horizontal
Horizontal datum type. |
static class |
DatumType.Local
Local datum type. |
private static class |
DatumType.Pool
Pool of custom DatumType. |
static class |
DatumType.Temporal
Temporal datum type. |
static class |
DatumType.Vertical
Vertical datum type. |
| Field Summary | |
static DatumType.Vertical |
ALTITUDE_BAROMETRIC
The vertical datum of altitudes or heights in the atmosphere. |
static DatumType.Horizontal |
CLASSIC
These datums, such as ED50, NAD27 and NAD83, have been designed to support horizontal positions on the ellipsoid as opposed to positions in 3-D space. |
static DatumType.Vertical |
DEPTH
This attribute is used to support the set of datums generated for hydrographic engineering projects where depth measurements below sea level are needed. |
static DatumType.Vertical |
ELLIPSOIDAL
A vertical datum for ellipsoidal heights that are measured along the normal to the ellipsoid used in the definition of horizontal datum. |
private static DatumType[] |
ENUMS
List of predefined enum types. |
static DatumType.Horizontal |
GEOCENTRIC
A geocentric datum is a "satellite age" modern geodetic datum mainly of global extent, such as WGS84 (used in GPS), PZ90 (used in GLONASS) and ITRF. |
static DatumType.Vertical |
GEOID_MODEL_DERIVED
A vertical datum of geoid model derived heights, also called GPS-derived heights. |
static DatumType.Temporal |
GMT
A temporal datum for Greenwich Mean Time (GMT). |
private int |
key
Resource key, used for building localized name. |
static DatumType.Vertical |
NORMAL
A normal height system. |
static DatumType.Vertical |
ORTHOMETRIC
A vertical datum for orthometric heights that are measured along the plumb line. |
private static WeakHashSet |
pool
The pool of local datum. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
static DatumType.Temporal |
UTC
A temporal datum for Universal Time (UTC). |
| Constructor Summary | |
DatumType(java.lang.String name,
int value,
int key)
Construct a new enum with the specified value. |
|
| Method Summary | |
static DatumType |
getEnum(int value)
Return the enum for the specified value. |
(package private) abstract int |
getMaximum()
Get the maximum value. |
(package private) abstract int |
getMinimum()
Get the minimum value. |
java.lang.String |
getName(java.util.Locale locale)
Returns this enum's name in the specified locale. |
java.lang.String |
getType(java.util.Locale locale)
Return the type name in the specified locale. |
(package private) abstract int |
getTypeKey()
Return the type key. |
(package private) abstract boolean |
isCompatibleOrientation(AxisOrientation orientation)
Returns true if the specified orientation is compatible
with this datum type. |
private java.lang.Object |
readResolve()
Use a single instance of DatumType after deserialization.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private static WeakHashSet pool
public static final DatumType.Horizontal CLASSIC
CS_DatumType.CS_HD_Classicpublic static final DatumType.Horizontal GEOCENTRIC
CS_DatumType.CS_HD_Geocentricpublic static final DatumType.Vertical ORTHOMETRIC
CS_DatumType.CS_VD_Orthometricpublic static final DatumType.Vertical ELLIPSOIDAL
CS_DatumType.CS_VD_Ellipsoidalpublic static final DatumType.Vertical ALTITUDE_BAROMETRIC
CS_DatumType.CS_VD_AltitudeBarometricpublic static final DatumType.Vertical NORMAL
CS_DatumType.CS_VD_Normalpublic static final DatumType.Vertical GEOID_MODEL_DERIVED
CS_DatumType.CS_VD_GeoidModelDerivedpublic static final DatumType.Vertical DEPTH
CS_DatumType.CS_VD_Depthpublic static final DatumType.Temporal UTC
public static final DatumType.Temporal GMT
private static final DatumType[] ENUMS
private transient int key
readResolve() canonicalize enums according their
#value. Furthermore, its value is implementation-dependent (which is
an other raison why it should not be serialized).
| Constructor Detail |
public DatumType(java.lang.String name,
int value,
int key)
| Method Detail |
public static DatumType getEnum(int value)
value - The enum value.
abstract boolean isCompatibleOrientation(AxisOrientation orientation)
true if the specified orientation is compatible
with this datum type. For example, a vertical datum is compatible only
with orientations UP and DOWN.
abstract int getMinimum()
abstract int getMaximum()
abstract int getTypeKey()
public java.lang.String getType(java.util.Locale locale)
public java.lang.String getName(java.util.Locale locale)
locale - The locale, or null for the default locale.
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
DatumType after deserialization.
It allow client code to test enum1==enum2 instead of
enum1.equals(enum2).
java.io.ObjectStreamException - is deserialization failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||