Home » Search

About identity

91-100 of 200Refresh
JDO Doc
3

getKey()

Method javax.jdo.identity.ShortIdentity short getKey() Return the key. Returns: the key Since: JDO 1.0
JDO Doc
3

getKey()

Method javax.jdo.identity.StringIdentity String getKey() Return the key. Returns: the key Since: JDO 1.0
JDO Doc
3

getKeyAsObject()

Method javax.jdo.identity.SingleFieldIdentity Object getKeyAsObject() Return the key as an Object. The method is synchronized to avoid race conditions in multi-threaded environments. Returns: the key as an Object. Since: JDO 2.0
JDO Doc
3

getObjectById(cls, key)

identity key Returns: the corresponding persistent instance Since: JDO 2.0
JDO Doc
3

getObjectIds(pcs)

Static Method javax.jdo.JDOHelper Collection getObjectIds(   Collection pcs ) Get object ids for a collection of instances. For each instance in the parameter, the getObjectId method is called. This method returns one identity instance for each element in the parameter. The order of iteration
JDO Doc
3

getObjectIds(pcs)

Static Method javax.jdo.JDOHelper Object[] getObjectIds(   Object[] pcs ) Get object ids for an array of instances. For each instance in the parameter, the getObjectId method is called. This method returns one identity instance for each element in the parameter. The order of instances
JDO Doc
3

getTargetClass()

Method javax.jdo.identity.SingleFieldIdentity Class getTargetClass() Return the target class. Returns: the target class. Since: JDO 2.0
JDO Doc
3

getTargetClassName()

Method javax.jdo.identity.SingleFieldIdentity String getTargetClassName() Return the target class name. Returns: the target class name. Since: JDO 2.0
JDO Doc
3

getTransactionalObjectId(pc)

Static Method javax.jdo.JDOHelper Object getTransactionalObjectId(   Object pc ) Return a copy of the JDO identity associated with the parameter instance. Parameters: pc - the PersistenceCapable instance. Returns: a copy of the ObjectId of the parameter instance as modified in this transaction
JDO Doc
3

getTransactionalObjectId(pc)

Method javax.jdo.spi.StateInterrogation Object getTransactionalObjectId(   Object pc ) Return a copy of the JDO identity associated with the parameter instance. Instances unknown by the implementation return null. Parameters: pc - the instance. Returns: a copy of the ObjectId of the parameter