org.objectweb.jac.aspects.persistence
Class LongOID
java.lang.Object
|
+--org.objectweb.jac.aspects.persistence.OID
|
+--org.objectweb.jac.aspects.persistence.LongOID
- All Implemented Interfaces:
- Serializable
- public class LongOID
- extends OID
An implementation of OID with a long
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.aspects.persistence.OID |
storage |
Methods inherited from class org.objectweb.jac.aspects.persistence.OID |
getStorage |
LongOID
public LongOID(Storage storage,
long oid)
getOID
public long getOID()
localId
public String localId()
- Specified by:
localId
in class OID
equals
public boolean equals(Object obj)
- Description copied from class:
OID
- Test if two OIDs are equal.
- Specified by:
equals
in class OID
- Parameters:
obj
- the OID to test
- Returns:
- true if obj equals this OID
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in class OID