fferpcore.TargetObjectMapglobal interface TargetObjectMap extends TargetObjectCollection This class represents a Map of Target Objects keyed on an arbitrary key. This class extends fferpcore.TargetObjectCollection Methods
keySetSet<Object> keySet() Return ValueThe set of keys in the map. This key set can include the keys of items that are pending destroy if the destruction has not yet happened. This key set is not guaranteed to be connected to the Map. Deletion from this keyset may not reflect in the map. valuesList<TargetObject> values() Return ValueList of Target Objects in the map. This should not return destroyed targets. getTargetObject get(Object key) Return ValueThe Target Object with the given key, or null if the key is not present. This should not return destroyed targets. createTargetObject create(Object key) Create a Target Object with the given key. If the target was previously destroyed then it must either be replaced with a new one, or its state set to simulate the creation of a new Target Object. Changes to the destroyed Target Object including previously persisted changes must be lost. This allows replace semantics to work correctly. |