com.triactive.jdo.sco
Class SCOProcessor.HashMapProcessor
java.lang.Object
com.triactive.jdo.sco.SCOProcessor
com.triactive.jdo.sco.SCOProcessor.MapProcessor
com.triactive.jdo.sco.SCOProcessor.HashMapProcessor
- Enclosing class:
- SCOProcessor
- public static class SCOProcessor.HashMapProcessor
- extends SCOProcessor.MapProcessor
The SCO processor for java.util.HashMap fields.
Method Summary |
SCO |
newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
java.lang.Object value)
Returns a new SCO instance. |
SCO |
newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
PersistentMap backing)
Returns a new SCO Map instance that is unloaded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOProcessor.HashMapProcessor
public SCOProcessor.HashMapProcessor()
newSCOInstance
public SCO newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
PersistentMap backing)
- Description copied from class:
SCOProcessor.MapProcessor
- Returns a new SCO Map instance that is unloaded.
The returned instance is owned by the specified owner but has
not been assigned to the corresponding field.
Initially, the contents of the map are not necessarily loaded in
memory. Its contents are partially or fully loaded from the backing
store in response to application method calls on the map.
- Specified by:
newSCOInstance
in class SCOProcessor.MapProcessor
- Parameters:
owner
- The first-class object that will own the new second-class object.fieldName
- The name of the field in the owning object.backing
- The backing store for the map.
- Returns:
- A new SCO instance.
newSCOInstance
public SCO newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
java.lang.Object value)
- Description copied from class:
SCOProcessor
- Returns a new SCO instance.
The returned instance is owned by the specified owner but has
not been assigned to the corresponding field.
- Specified by:
newSCOInstance
in class SCOProcessor
- Parameters:
owner
- The first-class object that will own the new second-class object.fieldName
- The name of the field in the owning object.value
- The initial value of the new object.
- Returns:
- A new SCO instance.
Copyright © 2001-2007 The TJDO Project All Rights Reserved.