Package mil.nga.crs.common
Enum CoordinateSystemType
- java.lang.Object
-
- java.lang.Enum<CoordinateSystemType>
-
- mil.nga.crs.common.CoordinateSystemType
-
- All Implemented Interfaces:
Serializable,Comparable<CoordinateSystemType>
public enum CoordinateSystemType extends Enum<CoordinateSystemType>
Coordinate System Type- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFINEaffineCARTESIANCartesianCYLINDRICALcylindricalELLIPSOIDALellipsoidalLINEARlinearORDINALordinalPARAMETRICparametricPOLARpolarSPHERICALsphericalTEMPORAL_COUNTtemporalCountTEMPORAL_DATE_TIMEtemporalDateTimeTEMPORAL_MEASUREtemporalMeasureVERTICALvertical
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the type namestatic CoordinateSystemTypegetType(String name)Get the type from the namestatic CoordinateSystemTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CoordinateSystemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFFINE
public static final CoordinateSystemType AFFINE
affine
-
CARTESIAN
public static final CoordinateSystemType CARTESIAN
Cartesian
-
CYLINDRICAL
public static final CoordinateSystemType CYLINDRICAL
cylindrical
-
ELLIPSOIDAL
public static final CoordinateSystemType ELLIPSOIDAL
ellipsoidal
-
LINEAR
public static final CoordinateSystemType LINEAR
linear
-
ORDINAL
public static final CoordinateSystemType ORDINAL
ordinal
-
PARAMETRIC
public static final CoordinateSystemType PARAMETRIC
parametric
-
POLAR
public static final CoordinateSystemType POLAR
polar
-
SPHERICAL
public static final CoordinateSystemType SPHERICAL
spherical
-
TEMPORAL_COUNT
public static final CoordinateSystemType TEMPORAL_COUNT
temporalCount
-
TEMPORAL_DATE_TIME
public static final CoordinateSystemType TEMPORAL_DATE_TIME
temporalDateTime
-
TEMPORAL_MEASURE
public static final CoordinateSystemType TEMPORAL_MEASURE
temporalMeasure
-
VERTICAL
public static final CoordinateSystemType VERTICAL
vertical
-
-
Method Detail
-
values
public static CoordinateSystemType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoordinateSystemType c : CoordinateSystemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoordinateSystemType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
Get the type name- Returns:
- type name
-
getType
public static CoordinateSystemType getType(String name)
Get the type from the name- Parameters:
name- type name- Returns:
- type
-
-