public enum ElevationLevel extends Enum<ElevationLevel>
Enum Constant and Description |
---|
ADMIN
Enum value Admin.
|
NON_ADMIN
Enum value NonAdmin.
|
Modifier and Type | Method and Description |
---|---|
static ElevationLevel |
fromString(String value)
Parses a serialized value to a ElevationLevel instance.
|
String |
toString() |
static ElevationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElevationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElevationLevel NON_ADMIN
public static final ElevationLevel ADMIN
public static ElevationLevel[] values()
for (ElevationLevel c : ElevationLevel.values()) System.out.println(c);
public static ElevationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ElevationLevel fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<ElevationLevel>
Copyright © 2019. All rights reserved.