Package org.opengis.metadata.spatial
Class GeometricObjectType
- java.lang.Object
-
- org.opengis.util.CodeList<GeometricObjectType>
-
- org.opengis.metadata.spatial.GeometricObjectType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometricObjectType>
@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 twodimensional spatial locations in the dataset.- Since:
- 2.0
- Version:
- 3.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static GeometricObjectType
COMPLEX
Set of geometric primitives such that their boundaries can be represented as a union of other primitives.static GeometricObjectType
COMPOSITE
Connected set of curves, solids or surfaces.static GeometricObjectType
CURVE
Bounded, 1-dimensional geometric primitive, representing the continuous image of a line.static GeometricObjectType
POINT
Zero-dimensional geometric primitive, representing a position but not having an extent.private static long
serialVersionUID
Serial number for compatibility with different versions.static GeometricObjectType
SOLID
Bounded, connected 3-dimensional geometric primitive, representing the continuous image of a region of space.static GeometricObjectType
SURFACE
Bounded, connected 2-dimensional geometric, representing the continuous image of a region of a plane.private static java.util.List<GeometricObjectType>
VALUES
List of all enumerations of this type.
-
Constructor Summary
Constructors Modifier Constructor Description private
GeometricObjectType(java.lang.String name)
Constructs an enum with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometricObjectType[]
family()
Returns the list of enumerations of the same kind than this enum.static GeometricObjectType
valueOf(java.lang.String code)
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.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for compatibility with different versions.- See Also:
- Constant Field Values
-
VALUES
private static final java.util.List<GeometricObjectType> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
COMPLEX
@UML(identifier="complex", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType COMPLEX
Set of geometric primitives such that their boundaries can be represented as a union of other primitives.- Since:
- 2.1
-
COMPOSITE
@UML(identifier="composite", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType COMPOSITE
Connected set of curves, solids or surfaces.- Since:
- 2.1
-
CURVE
@UML(identifier="curve", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType CURVE
Bounded, 1-dimensional geometric primitive, representing the continuous image of a line.
-
POINT
@UML(identifier="point", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType POINT
Zero-dimensional geometric primitive, representing a position but not having an extent.
-
SOLID
@UML(identifier="solid", obligation=CONDITIONAL, specification=ISO_19115) public static final GeometricObjectType SOLID
Bounded, 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 SURFACE
Bounded, connected 2-dimensional geometric, representing the continuous image of a region of a plane.
-
-
Constructor Detail
-
GeometricObjectType
private GeometricObjectType(java.lang.String name)
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Detail
-
values
public static GeometricObjectType[] values()
Returns the list ofGeometricObjectType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public GeometricObjectType[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<GeometricObjectType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static GeometricObjectType valueOf(java.lang.String code)
Returns the geometric object 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.
-
-