|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvanted.validation.MyNodes
public class MyNodes
The Class MyNodes is a helper class for node validation.
Constructor Summary | |
---|---|
MyNodes(org.graffiti.graph.Node source,
org.graffiti.graph.Node target)
Instantiates a new my nodes. |
Method Summary | |
---|---|
void |
addNode(org.graffiti.graph.Node source,
org.graffiti.graph.Node target)
Adds the nodes. |
boolean |
contains(org.graffiti.graph.Node node)
Checks if MyNodes contains this node. |
boolean |
contains(org.graffiti.graph.Node source,
org.graffiti.graph.Node target)
Checks if MyNodes contains this source and target node. |
org.graffiti.graph.Node |
getSourceNode()
Gets the source node. |
org.graffiti.graph.Node |
getTargetNode()
Gets the target node. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyNodes(org.graffiti.graph.Node source, org.graffiti.graph.Node target)
source
- the sourcetarget
- the targetMethod Detail |
---|
public void addNode(org.graffiti.graph.Node source, org.graffiti.graph.Node target)
source
- the sourcetarget
- the targetpublic org.graffiti.graph.Node getSourceNode()
public org.graffiti.graph.Node getTargetNode()
public boolean contains(org.graffiti.graph.Node node)
node
- the node
public boolean contains(org.graffiti.graph.Node source, org.graffiti.graph.Node target)
source
- the sourcetarget
- the target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |