public class ArcDeleteOperation extends NodeDiff
Modifier and Type | Field and Description |
---|---|
protected Object |
arcId |
protected Object |
targetNodeId |
Constructor and Description |
---|
ArcDeleteOperation(Object nodeId,
Object targetNodeId,
Object arcId) |
ArcDeleteOperation(Object nodeId,
Object targetNodeId,
Object arcId,
int diffId) |
Modifier and Type | Method and Description |
---|---|
void |
apply(GraphChangeHandler tracker)
Calls appropriate methods on the handler to "replay" this change.
|
Object |
getArcId() |
Object |
getTargetNodeId() |
void |
undo(GraphChangeHandler tracker)
Calls appropriate methods on the handler to revert this change.
|
public void apply(GraphChangeHandler tracker)
GraphDiff
public void undo(GraphChangeHandler tracker)
GraphDiff
public Object getArcId()
public Object getTargetNodeId()
Copyright © 2001–2017 Apache Cayenne. All rights reserved.