public enum BioSafetyOption extends Enum<BioSafetyOption> implements IDataTransferModel
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
String |
getValue() |
static Integer |
intValue(String value) |
static boolean |
isValidOption(Integer integer) |
static BioSafetyOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BioSafetyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BioSafetyOption LEVEL_ONE
public static final BioSafetyOption LEVEL_TWO
public static BioSafetyOption[] values()
for (BioSafetyOption c : BioSafetyOption.values()) System.out.println(c);
public static BioSafetyOption 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 getValue()
public int getIntValue()
public static boolean isValidOption(Integer integer)
Copyright © 2017. All rights reserved.