Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck » api » persistencemanager » getobject »

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

Classes:

GetObjectById   Title: Get Object By Id
Keywords: identity cache
Assertion ID: A12.5.6-9. 
code | html
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. 
code | html
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. 
code | html
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. 
code | html
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. 
code | html
GetObjectByIdNoValidationInstanceNotInDatastore   Title: Get Object By Id No Validation Instance Not In Datastore
Keywords: identity exception
Assertion ID: A12.5.6-6. 
code | html
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. 
code | html
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. 
code | html
GetObjectByIdWithValidationInstanceInCacheNotInDatastore   Title: Get Object By Id With Validation, Instance in Cache, Not in Datastore
Keywords: identity cache
Assertion IDs: A12.5.6-8. 
code | html
GetObjectByIdWithValidationInstanceNotInCacheNotInDatastore   Title: Get Object By Id With Validation, Instance Not in Cache, Not in Datastore
Keywords: exception
Assertion IDs: A12.6.5-2. 
code | html
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. 
code | html
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. 
code | html
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. 
code | html
GetObjectIdForNullOrNotPersistent   Title: GetObjectIdForNullOrNotPersistent
Keywords: identity
Assertion IDs: A12.5.6-14. 
code | html
GetObjectIdForPersistentInterface   Title: Get ObjectidForPersistentInterface
Keywords: identity
Assertion ID: A12.6.6-1
Assertion Description: For interfaces and classes that use a SingleFieldIdentity as the object-id class, if the returned instance is subsequently made persistent, the target class stored in the object-id instance is the parameter of the newInstance method that created it. 
code | html
GetObjectIdWithApplicationModifyingIdentity   Title: Get ObjectId With Application Modifying Identity
Keywords: identity applicationidentity
Assertion ID: A12.5.6-11. 
code | html
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. 
code | html