private static enum ClientPrincipal.AttrType extends java.lang.Enum<ClientPrincipal.AttrType>
Enum Constant and Description |
---|
BYTES |
CHAR |
DATETIME_TZ |
LIST |
LONG |
TYPE_000C |
Modifier and Type | Field and Description |
---|---|
private short |
code
type code.
|
Modifier and Type | Method and Description |
---|---|
short |
code()
Return type code.
|
static ClientPrincipal.AttrType |
valueOf(short code)
Get AttrType by code.
|
static ClientPrincipal.AttrType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientPrincipal.AttrType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientPrincipal.AttrType CHAR
public static final ClientPrincipal.AttrType DATETIME_TZ
public static final ClientPrincipal.AttrType TYPE_000C
public static final ClientPrincipal.AttrType BYTES
public static final ClientPrincipal.AttrType LIST
public static final ClientPrincipal.AttrType LONG
public static ClientPrincipal.AttrType[] values()
for (ClientPrincipal.AttrType c : ClientPrincipal.AttrType.values()) System.out.println(c);
public static ClientPrincipal.AttrType 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 namejava.lang.NullPointerException
- if the argument is nullpublic static ClientPrincipal.AttrType valueOf(short code)
code
- attribute code.public short code()