org.codehaus.mojo.graphing.model
Class Edge
java.lang.Object
org.codehaus.mojo.graphing.model.Edge
public class Edge
- extends java.lang.Object
Edge definition.
- Author:
- Joakim Erdfelt
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Edge
public Edge(Node n1,
Node n2)
- Parameters:
n1
- n2
-
Edge
public Edge(Node n1,
Node n2,
int edgeType)
- Parameters:
n1
- n2
- edgeType
-
getNode1
public Node getNode1()
- Returns:
- Returns the node1.
setNode1
public void setNode1(Node node1)
- Parameters:
node1
- The node1 to set.
getNode2
public Node getNode2()
- Returns:
- Returns the node2.
setNode2
public void setNode2(Node node2)
- Parameters:
node2
- The node2 to set.
getType
public int getType()
- Returns:
- Returns the type.
setType
public void setType(int type)
- Parameters:
type
- The type to set.
getId
public java.lang.String getId()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2005-2009. All Rights Reserved.