|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProbeAttributeType> eu.reservoir.monitoring.core.ProbeAttributeType
public enum ProbeAttributeType
The type that an Attribute of a Probe can be.
Enum Constant Summary | |
---|---|
BOOLEAN
|
|
BYTE
|
|
BYTES
|
|
CHAR
|
|
DOUBLE
|
|
FLOAT
|
|
INTEGER
|
|
LIST
|
|
LONG
|
|
SHORT
|
|
STRING
|
|
TABLE
|
Method Summary | |
---|---|
static ProbeAttributeType |
fromCode(byte code)
Get the correct ProbeAttributeType for a given code. |
byte |
getCode()
Get the code for a ProbeAttributeType |
static ProbeAttributeType |
lookup(java.lang.Object obj)
A lookup function |
static ProbeAttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProbeAttributeType[] |
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 |
Enum Constant Detail |
---|
public static final ProbeAttributeType BOOLEAN
public static final ProbeAttributeType BYTE
public static final ProbeAttributeType CHAR
public static final ProbeAttributeType SHORT
public static final ProbeAttributeType INTEGER
public static final ProbeAttributeType LONG
public static final ProbeAttributeType FLOAT
public static final ProbeAttributeType DOUBLE
public static final ProbeAttributeType STRING
public static final ProbeAttributeType BYTES
public static final ProbeAttributeType TABLE
public static final ProbeAttributeType LIST
Method Detail |
---|
public static ProbeAttributeType[] values()
for (ProbeAttributeType c : ProbeAttributeType.values()) System.out.println(c);
public static ProbeAttributeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic byte getCode()
public static ProbeAttributeType fromCode(byte code) throws TypeException
TypeException
public static ProbeAttributeType lookup(java.lang.Object obj) throws TypeException
TypeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |