public final class CompoundModelChangeDelta extends ModelChangeDelta
ModelChangeDelta| Modifier and Type | Field and Description |
|---|---|
static int |
COMPOUND_DELTA
int representing the type of this operation.
|
collection, feature, index, indices, oldIndex, oldValue, owner, participantIDs, type, value| Modifier and Type | Method and Description |
|---|---|
void |
addDelta(ModelChangeDelta delta)
Adds a
ModelChangeDelta to the list of deltas. |
void |
dispose()
Calls
ModelChangeDelta.dispose() for each delta in the list. |
java.util.List |
getDeltaList() |
int |
getType() |
boolean |
isCompound() |
ModelChangeDelta |
unwrap()
Returns one of three things:
null, if there are no
contained delta, the one delta, if there is exactly one contained delta,
or this, if there are multiple contained delta; this
delta is dispose()d in the second case. |
addParticipantID, affectsVizElements, createModelChangeDelta, createModelChangeDelta, getCollection, getFeature, getIndex, getIndices, getOldIndex, getOldValue, getOwner, getParticipantIDs, getValue, toStringpublic static final int COMPOUND_DELTA
public final void addDelta(ModelChangeDelta delta)
ModelChangeDelta to the list of deltas.delta - the ModelChangeDelta instance to be added.public final java.util.List getDeltaList()
CompoundModelChangeDeltapublic int getType()
getType in class ModelChangeDeltaMCommand.Type type of operation
represented by this ModelChangeDeltapublic final boolean isCompound()
isCompound in class ModelChangeDeltaModelChangeDelta is
compound.public final ModelChangeDelta unwrap()
null, if there are no
contained delta, the one delta, if there is exactly one contained delta,
or this, if there are multiple contained delta; this
delta is dispose()d in the second case.unwrap in class ModelChangeDeltaunwrap()public void dispose()
ModelChangeDelta.dispose() for each delta in the list.dispose in class ModelChangeDelta