Class GeometryType
- All Implemented Interfaces:
Serializable, Comparable<GeometryType>
@UML(identifier="MI_GeometryTypeCode",
specification=ISO_19115_2)
public final class GeometryType
extends CodeList<GeometryType>
Geometric description of the collection.
- Since:
- 2.3
- 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 GeometryTypeCollection of a geographic area defined by a polygon (coverage).static final GeometryTypeExtended collection in a single vector.static final GeometryTypeSingle geographic point of interest.static final GeometryTypeSeries of linear collections grouped by way points. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static GeometryTypeReturns the geometry type that matches the given string, or returns a new one if none match it.static GeometryType[]values()Returns the list ofGeometryTypes.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(GeometryType 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_2) public static final GeometryType POINTSingle geographic point of interest. -
LINEAR
@UML(identifier="linear", obligation=CONDITIONAL, specification=ISO_19115_2) public static final GeometryType LINEARExtended collection in a single vector. -
AREAL
@UML(identifier="areal", obligation=CONDITIONAL, specification=ISO_19115_2) public static final GeometryType AREALCollection of a geographic area defined by a polygon (coverage). -
STRIP
@UML(identifier="strip", obligation=CONDITIONAL, specification=ISO_19115_2) public static final GeometryType STRIPSeries of linear collections grouped by way points.
-
-
Method Details
-
values
Returns the list ofGeometryTypes.- 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<GeometryType>- Returns:
- The codes of the same kind as this code.
-
valueOf
Returns the geometry type 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.
-