Enum AlertSignalPresence
- java.lang.Object
-
- java.lang.Enum<AlertSignalPresence>
-
- org.somda.sdc.biceps.model.participant.AlertSignalPresence
-
- All Implemented Interfaces:
Serializable,Comparable<AlertSignalPresence>
public enum AlertSignalPresence extends Enum<AlertSignalPresence>
Java class for AlertSignalPresence.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AlertSignalPresence"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="On"/> <enumeration value="Off"/> <enumeration value="Latch"/> <enumeration value="Ack"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlertSignalPresencefromValue(String v)Stringvalue()static AlertSignalPresencevalueOf(String name)Returns the enum constant of this type with the specified name.static AlertSignalPresence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON
public static final AlertSignalPresence ON
Indicates that an ALERT SIGNAL is currently generated.
-
OFF
public static final AlertSignalPresence OFF
Indicates that an ALERT SIGNAL is currently not generated.
-
LATCH
public static final AlertSignalPresence LATCH
Latch = Latched. "Latched" indicates that an ALERT SIGNAL is currently generated even if the ALERT CONDITION is no longer present.
-
ACK
public static final AlertSignalPresence ACK
Ack = Acknowledged. "Acknowledged" indicates that an ALERT SIGNAL is currently not generated due to an acknowledgment even if the ALERT CONDITION is still present. Acknowledged signals are those, where an auditory ALERT SIGNAL that is related to a currently active ALERT CONDITION, is inactive until the ALERT CONDITION is no longer present.
-
-
Method Detail
-
values
public static AlertSignalPresence[] 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 (AlertSignalPresence c : AlertSignalPresence.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlertSignalPresence 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 AlertSignalPresence fromValue(String v)
-
-