org.objectweb.jac.aspects.persistence
Class StringOID
java.lang.Object
|
+--org.objectweb.jac.aspects.persistence.OID
|
+--org.objectweb.jac.aspects.persistence.StringOID
- All Implemented Interfaces:
- Serializable
- public class StringOID
- extends OID
An implementation of OID with a String
- 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 |
StringOID
public StringOID(Storage storage,
String oid)
getOID
public String 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