Package org.apache.jdo.tck.api.persistencemanager.getobject

Class Summary
GetObjectById Title: Get Object By Id
Keywords: identity cache
Assertion ID: A12.5.6-9.
GetObjectByIdNotResolved Title: Get ObjectId For Null Or Not Persistent
Keywords: identity
Assertion IDs: A12.5.6-1
Assertion Description: In a call to PersistenceManager.getObjectById, if the PersistenceManager is unable to resolve the oid parameter to an ObjectId instance, then it throws a JDOUserException.
GetObjectByIdNoValidationInstanceInCache Title: Get Object By Id No Validation, Instance In Cache
Keywords: identity cache
Assertion IDs: A12.5.6-2
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is already an instance in the cache with the same JDO identity as the oid parameter, then this method returns it.
GetObjectByIdNoValidationInstanceInCacheNoStateChange Title: Get Object By Id No Validation, Instance In Cache, No State Change
Keywords: identity cache lifecycle
Assertion IDs: A12.5.6-3
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is already an instance in the cache with the same JDO identity as the oid parameter, there is no change made to the state of the returned instance.
GetObjectByIdNoValidationInstanceNotInCache Title: Get Object By Id No Validation Instance Not In Cache
Keywords: identity cache
Assertion IDs: A12.5.6-5
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is not an instance already in the cache with the same JDO identity as the oid parameter, and there is a transaction in progress, then this method creates an instance with the specified JDO identity and returns it with a state of hollow, persistent-nontransactional, or persistent-clean, at the choice of the implementation.
GetObjectByIdNoValidationInstanceNotInCacheNoTx Title: Get Object By Id No Validation Instance Not In Cache, No Tx
Keywords: identity cache
Assertion IDs: A12.5.6-4
Assertion Description: If PersistenceManager.getObjectById is called with a value of false for the second parameter named validate, and there is not an instance already in the cache with the same JDO identity as the oid parameter, and there is no transaction in progress, then this method creates an instance with the specified JDO identity and returns it with a state of hollow or persistent-nontransactional, at the choice of the implementation.
GetObjectByIdNoValidationInstanceNotInDatastore Title: Get Object By Id No Validation Instance Not In Datastore
Keywords: identity exception
Assertion ID: A12.5.6-6.
GetObjectByIdWithValidationInstanceInCache Title: Get Object By Id With Validation Instance in Cache
Keywords: identity cache
Assertion IDs: A12.5.6-7
Assertion Description: If PersistenceManager.getObjectById is called with a value of true for the second parameter named validate, and there is already a transactional instance in the cache with the same JDO identity as the oid parameter, then this method returns it.
GetObjectByIdWithValidationInstanceInCacheNotInDatastore Title: Get Object By Id With Validation, Instance in Cache, Not in Datastore
Keywords: identity cache
Assertion IDs: A12.5.6-8.
GetObjectByIdWithValidationInstanceNotInCacheNotInDatastore Title: Get Object By Id With Validation, Instance Not in Cache, Not in Datastore
Keywords: exception
Assertion IDs: A12.6.5-2.
GetObjectId Title: Get Objectid
Keywords: identity
Assertion ID: A12.5.6-10
Assertion Description: The PersistenceManager.getObjectId method returns an ObjectId instance that re presents the object identity of the specified JDO Instance.
GetObjectIdClass Title: Get ObjectId Class
Keywords: identity
Assertion IDs: A12.10-1
Assertion Description: The method PersistenceManager.getObjectIdClass returns the class of the object id for the given class.
GetObjectIdClassForAbstractOrNonPersistenceCapableClass Title: Get ObjectId Class For Abstract or Non-PersistenceCapable Class
Keywords: identity
Assertion IDs: A12.10-2
Assertion Description: A call to PersistenceManager.getObjectIdClass returns null if the class is abstract or not persistence-capable, or the parameter is null.
GetObjectIdForNullOrNotPersistent Title: GetObjectIdForNullOrNotPersistent
Keywords: identity
Assertion IDs: A12.5.6-14.
GetObjectIdWithApplicationModifyingIdentity Title: Get ObjectId With Application Modifying Identity
Keywords: identity applicationidentity
Assertion ID: A12.5.6-11.
GetObjectsById Title: Test GetObjectsById
Keywords: getObjectsById getObjectById
Assertion IDs: 12.5.6-17
Assertion Description: 12.5.6-17 [Collection getObjectsById (Collection oids); Object[] getObjectsById (Object[] oids); Collection getObjectsById (Collection oids, boolean validate); Object[] getObjectsById (Object[] oids, boolean validate); The getObjectsById method attempts to find instances in the cache with the specified JDO identities.
 



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.