public static enum MetaDataModel.Vehicle extends Enum<MetaDataModel.Vehicle>
Enum Constant and Description |
---|
RASCAL |
REMUS |
SCANEAGLE |
SEAFOX |
SOLAR |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static MetaDataModel.Vehicle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaDataModel.Vehicle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaDataModel.Vehicle RASCAL
public static final MetaDataModel.Vehicle REMUS
public static final MetaDataModel.Vehicle SCANEAGLE
public static final MetaDataModel.Vehicle SEAFOX
public static final MetaDataModel.Vehicle SOLAR
public static MetaDataModel.Vehicle[] values()
for (MetaDataModel.Vehicle c : MetaDataModel.Vehicle.values()) System.out.println(c);
public static MetaDataModel.Vehicle 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 getName()
public String toString()
toString
in class Enum<MetaDataModel.Vehicle>