vitro.graph
Class CreateEdgeAction

java.lang.Object
  extended by vitro.graph.GraphAction
      extended by vitro.graph.CreateEdgeAction
All Implemented Interfaces:
Action

public class CreateEdgeAction
extends GraphAction


Field Summary
protected  Edge e
           
 Node end
           
 Node start
           
 
Fields inherited from class vitro.graph.GraphAction
model
 
Constructor Summary
CreateEdgeAction(Graph model, Node start, Node end)
           
 
Method Summary
 void apply()
          Apply this Action's change to a supplied Model or Models.
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 void undo()
          Revert any changes made during apply().
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public final Node start

end

public final Node end

e

protected Edge e
Constructor Detail

CreateEdgeAction

public CreateEdgeAction(Graph model,
                        Node start,
                        Node end)
Method Detail

apply

public void apply()
Description copied from interface: Action
Apply this Action's change to a supplied Model or Models.


undo

public void undo()
Description copied from interface: Action
Revert any changes made during apply().


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object