|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectaa.util.Key
This class defines a security key to limit the access right for a certain object or operation.
History:
| Field Summary | |
private java.util.Calendar |
m_calTime
Time field of this key. |
private long |
m_lID
Indentifer field of this key. |
| Constructor Summary | |
Key()
Creates a secure key. |
|
| Method Summary | |
boolean |
equals(Key p_key)
Indicates whether some other key is 'equal to' this key. |
long |
getID()
Returns the assigned identifier of this key. |
java.util.Calendar |
getTime()
Returns the assigend time value of this key. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private long m_lID
private java.util.Calendar m_calTime
| Constructor Detail |
public Key()
| Method Detail |
public boolean equals(Key p_key)
p_key - the reference key to be compared with this key
true if this key is the same as the the reference key;false otherwise.public final long getID()
public final java.util.Calendar getTime()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||