protected class GraphDiff.AttributeRemoved extends GraphDiff.ElementEvent
Modifier and Type | Field and Description |
---|---|
(package private) String |
attrId |
(package private) Object |
oldValue |
elementId, type
Constructor and Description |
---|
AttributeRemoved(GraphDiff.ElementType type,
String elementId,
String attrId,
Object oldValue) |
Modifier and Type | Method and Description |
---|---|
void |
apply(String sourceId,
long timeId,
Sink g)
Apply this event on a given graph.
|
void |
reverse(String sourceId,
long timeId,
Sink g)
Apply the dual event on a given graph.
|
String |
toString() |
getElement, toStringHeader, toStringValue
public AttributeRemoved(GraphDiff.ElementType type, String elementId, String attrId, Object oldValue)
public void apply(String sourceId, long timeId, Sink g)
GraphDiff.Event
apply
in class GraphDiff.Event
g
- the graph on which the action should be appliedpublic void reverse(String sourceId, long timeId, Sink g)
GraphDiff.Event
reverse
in class GraphDiff.Event
g
- the graph on which the dual action should be applied.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses