Package org.opengis.metadata.spatial
Class DimensionNameType
- java.lang.Object
-
- org.opengis.util.CodeList<DimensionNameType>
-
- org.opengis.metadata.spatial.DimensionNameType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DimensionNameType>
@UML(identifier="MD_DimensionNameTypeCode", specification=ISO_19115) public final class DimensionNameType extends CodeList<DimensionNameType>
Name of the dimension.- 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 DimensionNameType
COLUMN
Abscissa (x) axis.static DimensionNameType
CROSS_TRACK
Perpendicular to the direction of motion of the scan point.static DimensionNameType
LINE
Scan line of a sensor.static DimensionNameType
ROW
Ordinate (y) axis.static DimensionNameType
SAMPLE
Element along a scan line.private static long
serialVersionUID
Serial number for compatibility with different versions.static DimensionNameType
TIME
Duration.static DimensionNameType
TRACK
Along the direction of motion of the scan pointprivate static java.util.List<DimensionNameType>
VALUES
List of all enumerations of this type.static DimensionNameType
VERTICAL
Vertical (z) axis.
-
Constructor Summary
Constructors Modifier Constructor Description private
DimensionNameType(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 DimensionNameType[]
family()
Returns the list of enumerations of the same kind than this enum.static DimensionNameType
valueOf(java.lang.String code)
Returns the dimension name type that matches the given string, or returns a new one if none match it.static DimensionNameType[]
values()
Returns the list ofDimensionNameType
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<DimensionNameType> VALUES
List of all enumerations of this type. Must be declared before any enum declaration.
-
ROW
@UML(identifier="row", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType ROW
Ordinate (y) axis.
-
COLUMN
@UML(identifier="column", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType COLUMN
Abscissa (x) axis.
-
VERTICAL
@UML(identifier="vertical", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType VERTICAL
Vertical (z) axis.
-
TRACK
@UML(identifier="track", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType TRACK
Along the direction of motion of the scan point
-
CROSS_TRACK
@UML(identifier="crossTrack", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType CROSS_TRACK
Perpendicular to the direction of motion of the scan point.
-
LINE
@UML(identifier="line", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType LINE
Scan line of a sensor.
-
SAMPLE
@UML(identifier="sample", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType SAMPLE
Element along a scan line.
-
TIME
@UML(identifier="time", obligation=CONDITIONAL, specification=ISO_19115) public static final DimensionNameType TIME
Duration.
-
-
Constructor Detail
-
DimensionNameType
private DimensionNameType(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 DimensionNameType[] values()
Returns the list ofDimensionNameType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public DimensionNameType[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<DimensionNameType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static DimensionNameType valueOf(java.lang.String code)
Returns the dimension name 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.
-
-