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, toString
public 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()
CompoundModelChangeDelta
public int getType()
getType
in class ModelChangeDelta
MCommand.Type
type of operation
represented by this ModelChangeDelta
public final boolean isCompound()
isCompound
in class ModelChangeDelta
ModelChangeDelta
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 ModelChangeDelta
unwrap()
public void dispose()
ModelChangeDelta.dispose()
for each delta in the list.dispose
in class ModelChangeDelta