Package org.apache.cayenne.graph
Class ArcCreateOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.ArcCreateOperation
- All Implemented Interfaces:
Serializable
,Comparable<NodeDiff>
,GraphDiff
public class ArcCreateOperation extends NodeDiff
- Since:
- 1.2
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected Object
arcId
protected Object
targetNodeId
-
Constructor Summary
Constructors Constructor Description ArcCreateOperation(Object nodeId, Object targetNodeId, Object arcId)
ArcCreateOperation(Object nodeId, Object targetNodeId, Object arcId, int diffId)
-
Method Summary
Modifier and Type Method 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.
-
Field Details
-
targetNodeId
-
arcId
-
-
Constructor Details
-
ArcCreateOperation
-
ArcCreateOperation
-
-
Method Details