Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.jdo
Class JDOObjectId

java.lang.Object
  extended byoracle.toplink.jdo.JDOObjectId


public class JDOObjectId
extends java.lang.Object

PUBLIC:

JDO wrapper for a primary key. Contains a vector of the object primary key values, and the object's class.


Constructor Summary
JDOObjectId()
Create a new object id.

Method Summary
boolean equals(java.lang.Object oid)
java.util.Vector getKey()
java.lang.Class getObjectClass()
int hashCode()
void setKey(java.util.Vector newKey)
void setObjectClass(java.lang.Class newObjectClass)
java.lang.String toString()

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

JDOObjectId

public JDOObjectId()
Create a new object id.

Method Detail

equals

public boolean equals(java.lang.Object oid)

getKey

public java.util.Vector getKey()

getObjectClass

public java.lang.Class getObjectClass()

hashCode

public int hashCode()

setKey

public void setKey(java.util.Vector newKey)

setObjectClass

public void setObjectClass(java.lang.Class newObjectClass)

toString

public java.lang.String toString()

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.