Enum DatabaseSrsType
- java.lang.Object
-
- java.lang.Enum<DatabaseSrsType>
-
- org.citydb.config.project.database.DatabaseSrsType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DatabaseSrsType>
public enum DatabaseSrsType extends java.lang.Enum<DatabaseSrsType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOUND
ENGINEERING
GEOCENTRIC
GEOGENTRIC
GEOGRAPHIC2D
GEOGRAPHIC3D
PROJECTED
UNKNOWN
VERTICAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
java.lang.String
value()
static DatabaseSrsType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DatabaseSrsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROJECTED
public static final DatabaseSrsType PROJECTED
-
GEOGRAPHIC2D
public static final DatabaseSrsType GEOGRAPHIC2D
-
GEOCENTRIC
public static final DatabaseSrsType GEOCENTRIC
-
VERTICAL
public static final DatabaseSrsType VERTICAL
-
ENGINEERING
public static final DatabaseSrsType ENGINEERING
-
COMPOUND
public static final DatabaseSrsType COMPOUND
-
GEOGENTRIC
public static final DatabaseSrsType GEOGENTRIC
-
GEOGRAPHIC3D
public static final DatabaseSrsType GEOGRAPHIC3D
-
UNKNOWN
public static final DatabaseSrsType UNKNOWN
-
-
Method Detail
-
values
public static DatabaseSrsType[] 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 (DatabaseSrsType c : DatabaseSrsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseSrsType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<DatabaseSrsType>
-
-