Class CellGeometry
- All Implemented Interfaces:
Serializable, Comparable<CellGeometry>
@UML(identifier="MD_CellGeometryCode",
specification=ISO_19115)
public final class CellGeometry
extends CodeList<CellGeometry>
Code indicating whether grid data is point or area.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CellGeometryEach cell represents an area.static final CellGeometryEach cell represents a point. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static CellGeometryReturns the CellGeometry that matches the given string, or returns a new one if none match it.static CellGeometry[]values()Returns the list ofCellGeometrys.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(CellGeometry other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
Field Details
-
POINT
@UML(identifier="point", obligation=CONDITIONAL, specification=ISO_19115) public static final CellGeometry POINTEach cell represents a point. -
AREA
@UML(identifier="area", obligation=CONDITIONAL, specification=ISO_19115) public static final CellGeometry AREAEach cell represents an area.
-
-
Method Details
-
values
Returns the list ofCellGeometrys.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind as this enum.- Specified by:
familyin classCodeList<CellGeometry>- Returns:
- The codes of the same kind as this code.
-
valueOf
Returns the CellGeometry that matches the given string, or returns a new one if none match it.- Parameters:
code- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-