|
|||||||||||
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
org.apache.jdo.impl.state.SCOProcessor.MapProcessor
Processor for trackUpdates request for SCOMap.
Constructor Summary | |
(package private) |
SCOProcessor.MapProcessor()
|
Method Summary | |
(package private) void |
assertSCOElementType(java.lang.Object o,
JDOField jdoField)
Assert key and value type of an SCO Map. |
(package private) SCO |
getSCOField(java.lang.Object o,
JDOField jdoField,
PersistenceManagerInternal pm)
Replace field reference that contain java.util SCO instances with tracked SCOs. |
(package private) void |
trackUpdates(StateManagerImpl sm,
int field,
SCO sco)
Makes newly added instances to an SCO Map 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.MapProcessor()
Method Detail |
void trackUpdates(StateManagerImpl sm, int field, SCO sco)
trackUpdates
in class SCOProcessor.Processor
sm
- - StateManagerImpl instance that requested processing.field
- the field number associated with this SCO.sco
- Object to process.SCO getSCOField(java.lang.Object o, JDOField jdoField, PersistenceManagerInternal pm)
getSCOField
in class SCOProcessor.Processor
o
- Object to be replaced with tracked SCO instance.jdoField
- the JDOField associated with this number.pm
- the PersistenceManagerInternal instance associated with the
caller.void assertSCOElementType(java.lang.Object o, JDOField jdoField)
assertSCOElementType
in class SCOProcessor.Processor
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 |