public enum LastReqType extends java.lang.Enum<LastReqType>
| Enum Constant and Description |
|---|
NONE
Constant for the "none" last request type.
|
TIME_OF_INITIAL_REQ
Constant for the "time of initial request" last request type.
|
TIME_OF_INITIAL_TGT
Constant for the "time of initial ticket" last request type.
|
TIME_OF_LAST_RENEWAL
Constant for the "time of last renewal" last request type.
|
TIME_OF_LAST_REQ
Constant for the "time of last request" last request type.
|
TIME_OF_NEWEST_TGT
Constant for the "time of newest ticket" last request type.
|
TIME_OF_PASSWORD_EXP
Constant for the "time of password expiration" last request type.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name
The name of the checksum type.
|
private int |
value
The value/code for the checksum type.
|
| Modifier and Type | Method and Description |
|---|---|
static LastReqType |
getTypeByValue(int type)
Returns the last request type when specified by its ordinal.
|
int |
getValue()
Returns the number associated with this last request type.
|
java.lang.String |
toString() |
static LastReqType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LastReqType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LastReqType NONE
public static final LastReqType TIME_OF_INITIAL_TGT
public static final LastReqType TIME_OF_INITIAL_REQ
public static final LastReqType TIME_OF_NEWEST_TGT
public static final LastReqType TIME_OF_LAST_RENEWAL
public static final LastReqType TIME_OF_LAST_REQ
public static final LastReqType TIME_OF_PASSWORD_EXP
private java.lang.String name
private int value
public static LastReqType[] values()
for (LastReqType c : LastReqType.values()) System.out.println(c);
public static LastReqType 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 LastReqType getTypeByValue(int type)
type - The numeric typepublic int getValue()
public java.lang.String toString()
toString in class java.lang.Enum<LastReqType>Object.toString()