public enum SupportCraft extends Enum<SupportCraft>
Java class for SupportCraft.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SupportCraft">
<restriction base="{http://www.witsml.org/schemas/131}abstractTypeEnum">
<enumeration value="barge"/>
<enumeration value="standby boat"/>
<enumeration value="helicopter"/>
<enumeration value="supply boat"/>
<enumeration value="truck"/>
<enumeration value="crew vehicle"/>
<enumeration value="tug boat"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BARGE |
CREW_VEHICLE |
HELICOPTER |
STANDBY_BOAT |
SUPPLY_BOAT |
TRUCK |
TUG_BOAT |
UNKNOWN
The value is not known.
|
| Modifier and Type | Method and Description |
|---|---|
static SupportCraft |
fromValue(String v) |
String |
value() |
static SupportCraft |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportCraft[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportCraft BARGE
public static final SupportCraft STANDBY_BOAT
public static final SupportCraft HELICOPTER
public static final SupportCraft SUPPLY_BOAT
public static final SupportCraft TRUCK
public static final SupportCraft CREW_VEHICLE
public static final SupportCraft TUG_BOAT
public static final SupportCraft UNKNOWN
public static SupportCraft[] values()
for (SupportCraft c : SupportCraft.values()) System.out.println(c);
public static SupportCraft 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 SupportCraft fromValue(String v)
Copyright © 2017. All rights reserved.