|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.proxy.LongIdentity
public final class LongIdentity
INTERNAL: Class used for representing data store object identities
with only a single long key. See IdentityIF.
| Constructor Summary | |
|---|---|
LongIdentity()
INTERNAL: Constructor that is used for externalization purposes only. |
|
LongIdentity(Object type,
long key)
INTERNAL: Creates an identity instance of the given type with the given key. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
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. |
long |
getLongKey()
|
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 LongIdentity()
public LongIdentity(Object type,
long key)
| Method Detail |
|---|
public Object getType()
IdentityIFPersistentIF._p_getType().
getType in interface IdentityIFpublic int getWidth()
IdentityIF
getWidth in interface IdentityIFpublic Object getKey(int index)
IdentityIF
getKey in interface IdentityIFpublic long getLongKey()
public Object createInstance()
throws Exception
IdentityIF
createInstance in interface IdentityIFExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic String toString()
toString in class Object
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic Object clone()
clone in interface IdentityIFclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||