org.apache.qpid.qmf
Enum QMFType
java.lang.Object
java.lang.Enum<QMFType>
org.apache.qpid.qmf.QMFType
- All Implemented Interfaces:
- Serializable, Comparable<QMFType>
public enum QMFType
- extends Enum<QMFType>
Method Summary |
int |
codeValue()
|
static QMFType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QMFType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UINT8
public static final QMFType UINT8
UINT16
public static final QMFType UINT16
UINT32
public static final QMFType UINT32
UINT64
public static final QMFType UINT64
UNKNOWN
public static final QMFType UNKNOWN
STR8
public static final QMFType STR8
STR16
public static final QMFType STR16
ABSTIME
public static final QMFType ABSTIME
DELTATIME
public static final QMFType DELTATIME
OBJECTREFERENCE
public static final QMFType OBJECTREFERENCE
BOOLEAN
public static final QMFType BOOLEAN
FLOAT
public static final QMFType FLOAT
DOUBLE
public static final QMFType DOUBLE
UUID
public static final QMFType UUID
MAP
public static final QMFType MAP
INT8
public static final QMFType INT8
INT16
public static final QMFType INT16
INT32
public static final QMFType INT32
INT64
public static final QMFType INT64
OBJECT
public static final QMFType OBJECT
LIST
public static final QMFType LIST
ARRAY
public static final QMFType ARRAY
values
public static QMFType[] 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 (QMFType c : QMFType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QMFType 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 name
NullPointerException
- if the argument is null
codeValue
public int codeValue()
Licensed to the Apache Software Foundation