- All Implemented Interfaces:
Serializable
,Comparable<GeometricObjectType>
,ControlledVocabulary
@UML(identifier="MD_GeometricObjectTypeCode",
specification=ISO_19115)
public final class GeometricObjectType
extends CodeList<GeometricObjectType>
Name of point and vector spatial objects used to locate zero-, one-, and two-dimensional
spatial locations in the dataset.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GeometricObjectType
Set of geometric primitives such that their boundaries can be represented as a union of other primitives.static final GeometricObjectType
Connected set of curves, solids or surfaces.static final GeometricObjectType
Bounded, 1-dimensional geometric primitive, representing the continuous image of a line.static final GeometricObjectType
Zero-dimensional geometric primitive, representing a position but not having an extent.static final GeometricObjectType
Bounded, connected 3-dimensional geometric primitive, representing the continuous image of a region of space.static final GeometricObjectType
Bounded, connected 2-dimensional geometric, representing the continuous image of a region of a plane. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static GeometricObjectType
Returns the geometric object type that matches the given string, or returns a new one if none match it.static GeometricObjectType[]
values()
Returns the list ofGeometricObjectType
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
-
COMPLEX
@UML(identifier="complex", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType COMPLEXSet of geometric primitives such that their boundaries can be represented as a union of other primitives. -
COMPOSITE
@UML(identifier="composite", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType COMPOSITEConnected set of curves, solids or surfaces. -
CURVE
@UML(identifier="curve", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType CURVEBounded, 1-dimensional geometric primitive, representing the continuous image of a line. -
POINT
@UML(identifier="point", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType POINTZero-dimensional geometric primitive, representing a position but not having an extent. -
SOLID
@UML(identifier="solid", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType SOLIDBounded, connected 3-dimensional geometric primitive, representing the continuous image of a region of space. -
SURFACE
@UML(identifier="surface", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType SURFACEBounded, connected 2-dimensional geometric, representing the continuous image of a region of a plane.
-
-
Method Details
-
values
Returns the list ofGeometricObjectType
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<GeometricObjectType>
- Returns:
- all code values for this code list.
-
valueOf
Returns the geometric object 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.
-