krb5.lib
Class LastReqEntry

java.lang.Object
  extended by krb5.lib.LastReqEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class LastReqEntry
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Class Description : Class representing the last request entry. A modified version of the code obtained from the Open Group Research Institute.

Version:
1.1
Author:
Bojan Pajkovski
See Also:
Serialized Form

Constructor Summary
LastReqEntry()
          Empty class constructor
LastReqEntry(int lrType, KerberosTime lrValue)
          Class constructor
 
Method Summary
 java.lang.Object clone()
          Clone an last request entry object
 boolean equals(LastReqEntry lreq)
          Determine whether two entries are equal
 int getType()
          Return the last request entry type
 KerberosTime getValue()
          Return the last request entry value
 java.lang.String toString()
          Return a string describing this class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LastReqEntry

public LastReqEntry()
Empty class constructor


LastReqEntry

public LastReqEntry(int lrType,
                    KerberosTime lrValue)
Class constructor

Parameters:
lrType - int
lrValue - KerberosTime
Method Detail

getType

public int getType()
Return the last request entry type

Returns:
int

getValue

public KerberosTime getValue()
Return the last request entry value

Returns:
KerberosTime

equals

public boolean equals(LastReqEntry lreq)
Determine whether two entries are equal

Parameters:
lreq - LastReqEntry
Returns:
boolean

clone

public java.lang.Object clone()
Clone an last request entry object

Overrides:
clone in class java.lang.Object
Returns:
Object
See Also:
Object.clone()

toString

public java.lang.String toString()
Return a string describing this class

Overrides:
toString in class java.lang.Object
Returns:
String