|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.persistence.OID
Abstract class that defines an object identifier. It should be
subclassed by
Storage
implementors.
Note that you should also define the hashCode
method.
Field Summary
protected Storage
storage
The storage that defines the OID
Constructor Summary
OID(Storage storage)
Method Summary
abstract boolean
equals(Object obj)
Test if two OIDs are equal.
Storage
getStorage()
abstract int
hashCode()
abstract String
localId()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Field Detail
storage
protected Storage storage
Constructor Detail
OID
public OID(Storage storage)
Method Detail
equals
public abstract boolean equals(Object obj)
obj
- the OID to test
hashCode
public abstract int hashCode()
getStorage
public final Storage getStorage()
localId
public abstract String localId()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD