public enum Type extends Enum<Type>
Type.
| Enum Constant and Description |
|---|
ARRAY_FIXED_VALUE |
ARRAY_VARIABLE_VALUE |
DECIMAL |
INTEGER |
MSG |
NULL |
STRING_ISO_8859_1 |
STRING_UTF16 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getId()
getId.
|
static Type |
valueOf(byte aId)
valueOf.
|
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type NULL
public static final Type MSG
public static final Type INTEGER
public static final Type DECIMAL
public static final Type STRING_ISO_8859_1
public static final Type STRING_UTF16
public static final Type ARRAY_FIXED_VALUE
public static final Type ARRAY_VARIABLE_VALUE
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final byte getId()
public static Type valueOf(byte aId)
aId - Copyright © 2012-2013 hermod. All Rights Reserved.