|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.proxy.WrappedIdentity
public final class WrappedIdentity
INTERNAL: Class used for wrapping other identities. See IdentityIF.
| Constructor Summary | |
|---|---|
WrappedIdentity()
INTERNAL: Constructor that is used for externalization purposes only. |
|
WrappedIdentity(IdentityIF wrapped)
INTERNAL: Creates an identity instance that wraps another identity. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.lang.Object |
createInstance()
INTERNAL: Creates an object instance of the type defined by this identity. |
boolean |
equals(java.lang.Object object)
|
java.lang.Object |
getKey(int index)
INTERNAL: Returns the primary key component with the specified index. |
java.lang.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(java.io.ObjectInput in)
|
java.lang.String |
toString()
|
static IdentityIF |
wrap(IdentityIF identity)
INTERNAL: Factory method that wraps the identity in a WrappedIdentity if the identity itself is not a WrappedIdentity. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrappedIdentity()
public WrappedIdentity(IdentityIF wrapped)
| Method Detail |
|---|
public static final IdentityIF wrap(IdentityIF identity)
public java.lang.Object getType()
IdentityIFPersistentIF._p_getType().
getType in interface IdentityIFpublic int getWidth()
IdentityIF
getWidth in interface IdentityIFpublic java.lang.Object getKey(int index)
IdentityIF
getKey in interface IdentityIF
public java.lang.Object createInstance()
throws java.lang.Exception
IdentityIF
createInstance in interface IdentityIFjava.lang.Exceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic java.lang.Object clone()
clone in interface IdentityIFclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||