org.apache.directory.server.kerberos.shared.messages.value
Class LastRequestType

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.value.LastRequestType
All Implemented Interfaces:
java.lang.Comparable<LastRequestType>

public final class LastRequestType
extends java.lang.Object
implements java.lang.Comparable<LastRequestType>

Version:
$Rev: 586528 $, $Date: 2007-10-19 18:47:06 +0200 (Fri, 19 Oct 2007) $
Author:
Apache Directory Project

Field Summary
static LastRequestType NONE
          Constant for the "none" last request type.
static LastRequestType TIME_OF_INITIAL_REQ
          Constant for the "time of initial request" last request type.
static LastRequestType TIME_OF_INITIAL_TGT
          Constant for the "time of initial ticket" last request type.
static LastRequestType TIME_OF_LAST_RENEWAL
          Constant for the "time of last renewal" last request type.
static LastRequestType TIME_OF_LAST_REQ
          Constant for the "time of last request" last request type.
static LastRequestType TIME_OF_NEWEST_TGT
          Constant for the "time of newest ticket" last request type.
static LastRequestType TIME_OF_PASSWORD_EXP
          Constant for the "time of password expiration" last request type.
static java.util.List<LastRequestType> VALUES
          A List of all the last request type constants.
 
Method Summary
 int compareTo(LastRequestType that)
           
 int getOrdinal()
          Returns the number associated with this last request type.
static LastRequestType getTypeByOrdinal(int type)
          Returns the last request type when specified by its ordinal.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final LastRequestType NONE
Constant for the "none" last request type.


TIME_OF_INITIAL_TGT

public static final LastRequestType TIME_OF_INITIAL_TGT
Constant for the "time of initial ticket" last request type.


TIME_OF_INITIAL_REQ

public static final LastRequestType TIME_OF_INITIAL_REQ
Constant for the "time of initial request" last request type.


TIME_OF_NEWEST_TGT

public static final LastRequestType TIME_OF_NEWEST_TGT
Constant for the "time of newest ticket" last request type.


TIME_OF_LAST_RENEWAL

public static final LastRequestType TIME_OF_LAST_RENEWAL
Constant for the "time of last renewal" last request type.


TIME_OF_LAST_REQ

public static final LastRequestType TIME_OF_LAST_REQ
Constant for the "time of last request" last request type.


TIME_OF_PASSWORD_EXP

public static final LastRequestType TIME_OF_PASSWORD_EXP
Constant for the "time of password expiration" last request type.


VALUES

public static final java.util.List<LastRequestType> VALUES
A List of all the last request type constants.

Method Detail

getTypeByOrdinal

public static LastRequestType getTypeByOrdinal(int type)
Returns the last request type when specified by its ordinal.

Parameters:
type -
Returns:
The last request type.

getOrdinal

public int getOrdinal()
Returns the number associated with this last request type.

Returns:
The last request type ordinal.

compareTo

public int compareTo(LastRequestType that)
Specified by:
compareTo in interface java.lang.Comparable<LastRequestType>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.