org.openmuc.framework.data
Enum Flag
java.lang.Object
java.lang.Enum<Flag>
org.openmuc.framework.data.Flag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Flag>
public enum Flag
- extends java.lang.Enum<Flag>
Method Summary |
byte |
getCode()
|
static Flag |
newFlag(int code)
|
static Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
VALID
public static final Flag VALID
TIMEOUT
public static final Flag TIMEOUT
DEVICE_OR_INTERFACE_BUSY
public static final Flag DEVICE_OR_INTERFACE_BUSY
ACCESS_METHOD_NOT_SUPPORTED
public static final Flag ACCESS_METHOD_NOT_SUPPORTED
NO_VALUE_RECEIVED_YET
public static final Flag NO_VALUE_RECEIVED_YET
CONNECTING
public static final Flag CONNECTING
WAITING_FOR_CONNECTION_RETRY
public static final Flag WAITING_FOR_CONNECTION_RETRY
DISCONNECTING
public static final Flag DISCONNECTING
DRIVER_UNAVAILABLE
public static final Flag DRIVER_UNAVAILABLE
SAMPLING_AND_LISTENING_DISABLED
public static final Flag SAMPLING_AND_LISTENING_DISABLED
DISABLED
public static final Flag DISABLED
CHANNEL_DELETED
public static final Flag CHANNEL_DELETED
STARTED_LATE_AND_TIMED_OUT
public static final Flag STARTED_LATE_AND_TIMED_OUT
DRIVER_THREW_UNKNOWN_EXCEPTION
public static final Flag DRIVER_THREW_UNKNOWN_EXCEPTION
COMM_DEVICE_NOT_CONNECTED
public static final Flag COMM_DEVICE_NOT_CONNECTED
DRIVER_ERROR_CHANNEL_ADDRESS_SYNTAX_INVALID
public static final Flag DRIVER_ERROR_CHANNEL_ADDRESS_SYNTAX_INVALID
DRIVER_ERROR_CHANNEL_WITH_THIS_ADDRESS_NOT_FOUND
public static final Flag DRIVER_ERROR_CHANNEL_WITH_THIS_ADDRESS_NOT_FOUND
DRIVER_ERROR_CHANNEL_NOT_ACCESSIBLE
public static final Flag DRIVER_ERROR_CHANNEL_NOT_ACCESSIBLE
DRIVER_ERROR_CHANNEL_TEMPORARILY_NOT_ACCESSIBLE
public static final Flag DRIVER_ERROR_CHANNEL_TEMPORARILY_NOT_ACCESSIBLE
DRIVER_ERROR_CHANNEL_VALUE_TYPE_CONVERSION_EXCEPTION
public static final Flag DRIVER_ERROR_CHANNEL_VALUE_TYPE_CONVERSION_EXCEPTION
UNKNOWN_ERROR
public static final Flag UNKNOWN_ERROR
INFEASIBLE_TO_SAMPLE_CHANNEL_GROUP_IN_ONE_REQUEST
public static final Flag INFEASIBLE_TO_SAMPLE_CHANNEL_GROUP_IN_ONE_REQUEST
DRIVER_ERROR_SAMPLING_GROUP_NOT_FOUND
public static final Flag DRIVER_ERROR_SAMPLING_GROUP_NOT_FOUND
DRIVER_ERROR_SAMPLING_GROUP_NOT_ACCESSIBLE
public static final Flag DRIVER_ERROR_SAMPLING_GROUP_NOT_ACCESSIBLE
DRIVER_ERROR_CHANNEL_NOT_PART_OF_SAMPLING_GROUP
public static final Flag DRIVER_ERROR_CHANNEL_NOT_PART_OF_SAMPLING_GROUP
CANNOT_WRITE_NULL_VALUE
public static final Flag CANNOT_WRITE_NULL_VALUE
values
public static Flag[] 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 (Flag c : Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Flag valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getCode
public byte getCode()
newFlag
public static Flag newFlag(int code)