Home » Search

About identity

41-50 of 200Refresh
JDO Doc
8

getObjectId(pc)

identity associated with the parameter instance. Persistent instances of PersistenceCapable classes have a JDO identity managed by the PersistenceManager. This method returns a copy of the ObjectId that represents the JDO identity. Instances unknown by the implementation return null. The ObjectId
JDO Doc
6

getObjectId(pc)

representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction. Parameters: pc - the calling PersistenceCapable instance Returns: the object representing the JDO identity of the calling instance Since: JDO 1.0
JDO Doc
6

getObjectIdClass(cls)

that implements the JDO Identity for the specified PersistenceCapable class. The application can use the returned Class to construct a JDO Identity instance for application identity PersistenceCapable classes. This JDO Identity instance can then be used to get an instance of the PersistenceCapable class
JDO Doc
6

getTransactionalObjectId(pc)

returned by this method represents the JDO identity of the instance. The ObjectId is a copy (clone) of the internal state of the instance, and changing it does not affect the JDO identity of the instance. If the object identity is being changed in the transaction, by the application modifying one or
JDO Doc
6

getTransactionalObjectId(pc)

the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the current identity as changed in the transaction. Parameters: pc - the calling PersistenceCapable instance Returns: the object representing the JDO identity of the calling instance Since: JDO 1.0
JDO Doc
6

javax.jdo.annotations.PersistenceCapable

IdentityType identityType Type of identity for this class or interface. Type of identity ... objectIdClass Primary key class when using application identity and using own PK. Primary key class when using application identity and using own PK. Default value: void.class Since: JDO 2.1 String
JDO Doc
6

javax.jdo.Constants

" Since: JDO 2.1 See Also: PersistenceManagerFactory.getProperties() String OPTION_APPLICATION_IDENTITY ... .supportedOptions() String OPTION_CHANGE_APPLICATION_IDENTITY "javax.jdo.option ... See Also: PersistenceManagerFactory.supportedOptions() String OPTION_DATASTORE_IDENTITY "javax.jdo.option.DatastoreIdentity" "javax
JDO Doc
6

jdoNewObjectIdInstance()

on which this method is called. This method creates a new instance of the class used for JDO identity. It is intended only for application identity. If the class has been enhanced for datastore identity, or if the class is abstract, null is returned. For classes using single field identity
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.ByteIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.CharIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2