public enum ActivityType extends Enum<ActivityType>
Java class for ActivityType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ActivityType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Parachute"/> <enumeration value="Glider"/> <enumeration value="HangGlider"/> <enumeration value="UltraLight"/> </restriction> </simpleType>
Enum Constant and Description |
---|
GLIDER
Glider Operations
|
HANG_GLIDER
Hang Glider Activities
|
PARACHUTE
Parachute Jump Area
|
ULTRA_LIGHT
Ultra Light Activities
|
Modifier and Type | Method and Description |
---|---|
static ActivityType |
fromValue(String v) |
String |
value() |
static ActivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityType PARACHUTE
public static final ActivityType GLIDER
public static final ActivityType HANG_GLIDER
public static final ActivityType ULTRA_LIGHT
public static ActivityType[] values()
for (ActivityType c : ActivityType.values()) System.out.println(c);
public static ActivityType 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 String value()
public static ActivityType fromValue(String v)
Copyright © 2020. All rights reserved.