public final class Identity extends Object implements IdentityIF, Externalizable
IdentityIF.| Constructor and Description |
|---|
Identity()
INTERNAL: Constructor that is used for externalization purposes
only.
|
Identity(Class<?> type,
Object[] keys)
INTERNAL: Creates an identity instance of the given type with the
given keys.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
computeHashCode() |
Object |
createInstance()
INTERNAL: Creates an object instance of the type defined by this
identity.
|
boolean |
equals(Object object) |
Object |
getKey(int index)
INTERNAL: Returns the primary key component with the specified index.
|
Class<?> |
getType()
INTERNAL: Returns the type of object.
|
int |
getWidth()
INTERNAL: Returns the number of primary key components that the
identity has.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public Identity()
public Class<?> getType()
IdentityIFPersistentIF._p_getType().getType in interface IdentityIFpublic int getWidth()
IdentityIFgetWidth in interface IdentityIFpublic Object getKey(int index)
IdentityIFgetKey in interface IdentityIFpublic Object createInstance() throws Exception
IdentityIFcreateInstance in interface IdentityIFExceptionpublic int computeHashCode()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic Object clone()
clone in interface IdentityIFclone in class Object