- All Implemented Interfaces:
Serializable
,Comparable<GeometryType>
,ControlledVocabulary
@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 org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GeometryType
Collection of a geographic area defined by a polygon (coverage).static final GeometryType
Extended collection in a single vector.static final GeometryType
Single geographic point of interest.static final GeometryType
Series of linear collections grouped by way points. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static GeometryType
Returns the geometry type that matches the given string, or returns a new one if none match it.static GeometryType[]
values()
Returns the list ofGeometryType
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
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 ofGeometryType
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<GeometryType>
- Returns:
- all code values for this code list.
-
valueOf
Returns the geometry type that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-