Package org.opengis.metadata.spatial
Class SpatialRepresentationType
- java.lang.Object
-
- org.opengis.util.CodeList<SpatialRepresentationType>
-
- org.opengis.metadata.spatial.SpatialRepresentationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpatialRepresentationType>
@UML(identifier="MD_SpatialRepresentationTypeCode", specification=ISO_19115) public final class SpatialRepresentationType extends CodeList<SpatialRepresentationType>
Method used to represent geographic information 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 SpatialRepresentationType
GRID
Grid data is used to represent geographic data.private static long
serialVersionUID
Serial number for compatibility with different versions.static SpatialRepresentationType
STEREO_MODEL
Three-dimensional view formed by the intersecting homologous rays of an overlapping pair of images.static SpatialRepresentationType
TEXT_TABLE
Textual or tabular data is used to represent geographic data.static SpatialRepresentationType
TIN
Triangulated irregular network.private static java.util.List<SpatialRepresentationType>
VALUES
List of all enumerations of this type.static SpatialRepresentationType
VECTOR
Vector data is used to represent geographic data.static SpatialRepresentationType
VIDEO
Scene from a video recording.
-
Constructor Summary
Constructors Modifier Constructor Description private
SpatialRepresentationType(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 SpatialRepresentationType[]
family()
Returns the list of enumerations of the same kind than this enum.static SpatialRepresentationType
valueOf(java.lang.String code)
Returns the spatial representation type that matches the given string, or returns a new one if none match it.static SpatialRepresentationType[]
values()
Returns the list ofSpatialRepresentationType
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<SpatialRepresentationType> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
VECTOR
@UML(identifier="vector", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType VECTOR
Vector data is used to represent geographic data.
-
GRID
@UML(identifier="grid", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType GRID
Grid data is used to represent geographic data.
-
TEXT_TABLE
@UML(identifier="textTable", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType TEXT_TABLE
Textual or tabular data is used to represent geographic data.
-
TIN
@UML(identifier="tin", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType TIN
Triangulated irregular network.
-
STEREO_MODEL
@UML(identifier="stereoModel", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType STEREO_MODEL
Three-dimensional view formed by the intersecting homologous rays of an overlapping pair of images.
-
VIDEO
@UML(identifier="video", obligation=CONDITIONAL, specification=ISO_19115) public static final SpatialRepresentationType VIDEO
Scene from a video recording.
-
-
Constructor Detail
-
SpatialRepresentationType
private SpatialRepresentationType(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 SpatialRepresentationType[] values()
Returns the list ofSpatialRepresentationType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public SpatialRepresentationType[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<SpatialRepresentationType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static SpatialRepresentationType valueOf(java.lang.String code)
Returns the spatial representation 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.
-
-