Enum BatteryState.ChargeStatus
- java.lang.Object
-
- java.lang.Enum<BatteryState.ChargeStatus>
-
- org.somda.sdc.biceps.model.participant.BatteryState.ChargeStatus
-
- All Implemented Interfaces:
Serializable,Comparable<BatteryState.ChargeStatus>
- Enclosing class:
- BatteryState
public static enum BatteryState.ChargeStatus extends Enum<BatteryState.ChargeStatus>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Ful"/> <enumeration value="ChB"/> <enumeration value="DisChB"/> <enumeration value="DEB"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatteryState.ChargeStatusfromValue(String v)Stringvalue()static BatteryState.ChargeStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static BatteryState.ChargeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FUL
public static final BatteryState.ChargeStatus FUL
Ful = Full. All available active material is in a state such that the charging under the selected conditions produces no significant increase of capacity. See also IEC 60050-482 International Electrotechnical Vocabulary, 482-05-42.
-
CH_B
public static final BatteryState.ChargeStatus CH_B
ChB = Charging Battery. Battery is currently supplied with electric energy from an external circuit. See also IEC 60050-482 International Electrotechnical Vocabulary, 482-05-27.
-
DIS_CH_B
public static final BatteryState.ChargeStatus DIS_CH_B
DisChB = Discharging Battery. Battery delivers, to an external electric circuit and under specified conditions, electric energy produced in the cells. See also IEC 60050-482 International Electrotechnical Vocabulary, 482-03-23
-
DEB
public static final BatteryState.ChargeStatus DEB
DEB = Discharged Empty Battery. Discharged secondary battery. See also IEC 60050-482 International Electrotechnical Vocabulary, 482-05-31.
-
-
Method Detail
-
values
public static BatteryState.ChargeStatus[] 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 (BatteryState.ChargeStatus c : BatteryState.ChargeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatteryState.ChargeStatus 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 BatteryState.ChargeStatus fromValue(String v)
-
-