|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectEnumeratedParameter
org.deegree_impl.model.ct.TransformType
Semantic type of transform used in coordinate transformation.
CT_TransformType,
Serialized Form| Field Summary | |
static TransformType |
CONVERSION
Transform depends only on defined parameters. |
static TransformType |
CONVERSION_AND_TRANSFORMATION
Transform depends on both defined and empirical parameters. |
private static TransformType[] |
ENUMS
Transform types by value. |
private int |
key
Resource key, used for building localized name. |
static TransformType |
OTHER
Unknown or unspecified type of transform. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
static TransformType |
TRANSFORMATION
Transform depends only on empirically derived parameters. |
| Constructor Summary | |
private |
TransformType(java.lang.String name,
int value,
int key)
Construct a new enum value. |
| Method Summary | |
TransformType |
concatenate(TransformType type)
Concatenate this transform type with the specified transform type. |
static TransformType |
getEnum(int value)
Return the enum for the specified value. |
java.lang.String |
getName(java.util.Locale locale)
Returns this enum's name in the specified locale. |
private java.lang.Object |
readResolve()
Use a single instance of TransformType 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
public static final TransformType OTHER
CT_TransformType.CT_TT_Otherpublic static final TransformType CONVERSION
CT_TransformType.CT_TT_Conversionpublic static final TransformType TRANSFORMATION
CT_TransformType.CT_TT_Transformationpublic static final TransformType CONVERSION_AND_TRANSFORMATION
CT_TransformType.CT_TT_ConversionAndTransformationprivate static final TransformType[] ENUMS
private final 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 |
private TransformType(java.lang.String name,
int value,
int key)
| Method Detail |
public static TransformType getEnum(int value)
throws java.util.NoSuchElementException
CT_TransformType.
value - The enum value.
java.util.NoSuchElementException - if there is no enum for the specified value.public java.lang.String getName(java.util.Locale locale)
locale - The locale, or null for the current default locale.
public TransformType concatenate(TransformType type)
OTHER, then OTHER
is returned. Otherwise, transform type values are combined as with the
logical "OR" operand.
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
TransformType 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 | ||||||||||