com.xavax.xstore
Class AccessKey

Object
  extended byAccessKey

public final class AccessKey
extends Object

AccessKey facilitates the implementation of the private interface pattern. An AccessKey must be passed to methods we must expose to the public but still want to restrict access. Only classes within the persistence package can create an AccessKey.


Method Summary
 boolean isValid()
          Returns true if this is a valid AccessKey.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValid

public boolean isValid()
Returns true if this is a valid AccessKey.

Returns:
true if this is a valid AccessKey.