Enum GeoLocationType
- java.lang.Object
-
- java.lang.Enum<GeoLocationType>
-
- de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationType
-
- All Implemented Interfaces:
Serializable
,Comparable<GeoLocationType>
public enum GeoLocationType extends Enum<GeoLocationType>
Enumeration of geo location types known to the system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANYON
CAVE
CONTINENT
COUNTRY
CREEK
GEOLOCATION
HUMAN_SETTLEMENT
LAKE
MOUNTAIN
OCEAN
RIVER
SEA
STILL_WATERS
VALLEY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoLocationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeoLocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANYON
public static final GeoLocationType CANYON
-
CAVE
public static final GeoLocationType CAVE
-
CONTINENT
public static final GeoLocationType CONTINENT
-
COUNTRY
public static final GeoLocationType COUNTRY
-
CREEK
public static final GeoLocationType CREEK
-
GEOLOCATION
public static final GeoLocationType GEOLOCATION
-
HUMAN_SETTLEMENT
public static final GeoLocationType HUMAN_SETTLEMENT
-
LAKE
public static final GeoLocationType LAKE
-
MOUNTAIN
public static final GeoLocationType MOUNTAIN
-
OCEAN
public static final GeoLocationType OCEAN
-
RIVER
public static final GeoLocationType RIVER
-
SEA
public static final GeoLocationType SEA
-
STILL_WATERS
public static final GeoLocationType STILL_WATERS
-
VALLEY
public static final GeoLocationType VALLEY
-
-
Method Detail
-
values
public static GeoLocationType[] 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 (GeoLocationType c : GeoLocationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoLocationType 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
-
-