global interface TargetObjectMap extends TargetObjectCollection
This class represents a Map of Target Objects keyed on an arbitrary key.
This class extends fferpcore.TargetObjectCollection
The 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.
List of Target Objects in the map. This should not return destroyed targets.
TargetObject get(Object key)
The Target Object with the given key, or null if the key is not present. This should not return destroyed targets.
TargetObject 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.