|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.persistence.proxy.Identity
public final class Identity
INTERNAL: Class used for representing data store object identities
with more than a single key. See IdentityIF
.
Constructor Summary | |
---|---|
Identity()
INTERNAL: Constructor that is used for externalization purposes only. |
|
Identity(Object type,
Object[] keys)
INTERNAL: Creates an identity instance of the given type with the given keys. |
Method Summary | |
---|---|
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. |
Object |
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)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Identity()
public Identity(Object type, Object[] keys)
Method Detail |
---|
public Object getType()
IdentityIF
PersistentIF._p_getType()
.
getType
in interface IdentityIF
public int getWidth()
IdentityIF
getWidth
in interface IdentityIF
public Object getKey(int index)
IdentityIF
getKey
in interface IdentityIF
public Object createInstance() throws Exception
IdentityIF
createInstance
in interface IdentityIF
Exception
public int hashCode()
hashCode
in class Object
public int computeHashCode()
public boolean equals(Object object)
equals
in class Object
public String toString()
toString
in class Object
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public Object clone()
clone
in interface IdentityIF
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |