|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.impl.state.SCOProcessor.Processor
An abstract class that knows how process SCO-related requests.
| Constructor Summary | |
(package private) |
SCOProcessor.Processor()
|
| Method Summary | |
(package private) abstract void |
assertSCOElementType(java.lang.Object o,
org.apache.jdo.model.jdo.JDOField jdoField)
Assert element type of an SCO Collection or key and value types of an SCO Map. |
(package private) abstract SCO |
getSCOField(java.lang.Object o,
org.apache.jdo.model.jdo.JDOField jdoField,
PersistenceManagerInternal pm)
Replace field reference that contain java.util SCO instances with tracked SCOs. |
(package private) abstract void |
trackUpdates(StateManagerImpl sm,
int field,
SCO sco)
Makes newly added instances to an SCO Collection auto-persistent and fixes ownership on referenced SCO instances. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
SCOProcessor.Processor()
| Method Detail |
abstract void trackUpdates(StateManagerImpl sm,
int field,
SCO sco)
sm - - StateManagerImpl instance that requested processing.field - the field number associated with this SCO.sco - Object to process.
abstract SCO getSCOField(java.lang.Object o,
org.apache.jdo.model.jdo.JDOField jdoField,
PersistenceManagerInternal pm)
o - Object to be replaced with tracked SCO instance.jdoField - the JDOField associated with this number.pm - the PersistenceManagerInternal instance associated with the
caller.
abstract void assertSCOElementType(java.lang.Object o,
org.apache.jdo.model.jdo.JDOField jdoField)
o - Object to be tested.jdoField - the corresponding JDOField element.
javax.jdo.JDOUserException - if assertion fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||