public enum VehicleType extends Enum<VehicleType>
Java class for vehicleType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="vehicleType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="UAV"/> <enumeration value="UGV"/> <enumeration value="USV"/> <enumeration value="UUV"/> <enumeration value="ROV"/> <enumeration value="AGENDA"/> <enumeration value="MUNITION"/> <enumeration value="SSGN"/> <enumeration value="UNKNOWN"/> </restriction> </simpleType>
Enum Constant and Description |
---|
AGENDA |
MUNITION |
ROV |
SSGN |
UAV |
UGV |
UNKNOWN |
USV |
UUV |
Modifier and Type | Method and Description |
---|---|
static VehicleType |
fromValue(String v) |
String |
value() |
static VehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType UAV
public static final VehicleType UGV
public static final VehicleType USV
public static final VehicleType UUV
public static final VehicleType ROV
public static final VehicleType AGENDA
public static final VehicleType MUNITION
public static final VehicleType SSGN
public static final VehicleType UNKNOWN
public static VehicleType[] values()
for (VehicleType c : VehicleType.values()) System.out.println(c);
public static VehicleType 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 VehicleType fromValue(String v)