| org.jpox.identity.OID
All known Subclasses: org.jpox.identity.DatastoreUniqueOID, org.jpox.identity.OIDImpl,
OID | public interface OID (Code) | | Interface for a datastore-identity class to implement.
Please refer to the JDO2 specification 5.4.3 for precise requirements of such a class. These include
- Has to implement Serializable
- Serializable fields have to be public
- Has to have a constructor taking a String (the same String that toString() returns)
version: $Revision: 1.1 $ |
equals | abstract public boolean equals(Object obj)(Code) | | Equality operator.
Parameters: obj - Object to compare against Whether they are equal |
getKeyValue | abstract public Object getKeyValue()(Code) | | Provides the OID in a form that can be used by the database as a key.
The key value |
getPcClass | abstract public String getPcClass()(Code) | | Accessor for the PC class name
the PC Class |
hashCode | abstract public int hashCode()(Code) | | Accessor for the hashcode
Hashcode for this object |
toString | abstract public String toString()(Code) | | Returns the string representation of the OID.
The string representation should contain enough information to be usable as input to a String constructor
to create the OID.
the string representation of the OID. |
|
|