org.apache.cayenne.graph
Class ArcCreateOperation
java.lang.Object
   org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.NodeDiff
       org.apache.cayenne.graph.ArcCreateOperation
org.apache.cayenne.graph.ArcCreateOperation
- All Implemented Interfaces: 
- Serializable, Comparable<NodeDiff>, GraphDiff
- public class ArcCreateOperation 
- extends NodeDiff
- Since:
- 1.2
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
targetNodeId
protected Object targetNodeId
arcId
protected Object arcId
ArcCreateOperation
public ArcCreateOperation(Object nodeId,
                          Object targetNodeId,
                          Object arcId)
ArcCreateOperation
public ArcCreateOperation(Object nodeId,
                          Object targetNodeId,
                          Object arcId,
                          int diffId)
apply
public void apply(GraphChangeHandler tracker)
- Description copied from interface: GraphDiff
- Calls appropriate methods on the handler to "replay" this change.
 
- 
- Specified by:
- applyin interface- GraphDiff
- Specified by:
- applyin class- NodeDiff
 
- 
 
undo
public void undo(GraphChangeHandler tracker)
- Description copied from interface: GraphDiff
- Calls appropriate methods on the handler to revert this change.
 
- 
- Specified by:
- undoin interface- GraphDiff
- Specified by:
- undoin class- NodeDiff
 
- 
 
getArcId
public Object getArcId()
- 
 
getTargetNodeId
public Object getTargetNodeId()
- 
 
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.