|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.model.coverage.CodeList
public abstract class CodeList
Base class for all code lists.
Constructor Summary | |
---|---|
(package private) |
CodeList(String name,
Collection<CodeList> values)
Create a new code list instance and add it to the given collection. |
protected |
CodeList(String name,
int ordinal)
Create a new code list instance. |
Method Summary | |
---|---|
abstract CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
String |
name()
Returns the name of this enum constant. |
int |
ordinal()
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero). |
protected Object |
readResolve()
Resolve the code list to an unique instance after deserialization. |
String |
toString()
Returns a string representation of this code list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected CodeList(String name, int ordinal)
name
- The code name.ordinal
- The code value.CodeList(String name, Collection<CodeList> values)
name
- The code name.values
- The collection to add the enum to.Method Detail |
---|
public final int ordinal()
public final String name()
public abstract CodeList[] family()
public String toString()
toString
in class Object
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if the deserialization failed.
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net