Enum CalibrationState
- java.lang.Object
-
- java.lang.Enum<CalibrationState>
-
- org.somda.sdc.biceps.model.participant.CalibrationState
-
- All Implemented Interfaces:
Serializable,Comparable<CalibrationState>
public enum CalibrationState extends Enum<CalibrationState>
Java class for CalibrationState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CalibrationState"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="No"/> <enumeration value="Req"/> <enumeration value="Run"/> <enumeration value="Cal"/> <enumeration value="Oth"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CalibrationStatefromValue(String v)Stringvalue()static CalibrationStatevalueOf(String name)Returns the enum constant of this type with the specified name.static CalibrationState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final CalibrationState NO
No = Not Calibrated. Defines that a component is not calibrated.
-
REQ
public static final CalibrationState REQ
Req = Calibration Required. Defines that a component requires a calibration.
-
RUN
public static final CalibrationState RUN
Run = Running. Defines that a calibration for a component is running.
-
CAL
public static final CalibrationState CAL
Cal = Calibrated. Defines that a component is calibrated.
-
OTH
public static final CalibrationState OTH
Oth = Other. The calibration state is defined by other means.
-
-
Method Detail
-
values
public static CalibrationState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CalibrationState c : CalibrationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalibrationState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static CalibrationState fromValue(String v)
-
-