Public Member Functions | |
Connection () | |
Connection (Object edge, Object port, boolean isSource) | |
Object | getEdge () |
Object | getPort () |
boolean | isSource () |
boolean | equals (Object obj) |
int | hashCode () |
void | setEdge (Object object) |
void | setSource (boolean b) |
void | setPort (Object object) |
Protected Attributes | |
Object | edge |
Object | port |
boolean | isSource |
|
|
|
Constructs a new source or target connection between |
|
Two connections are equal if they represent the source or target of the same edge. That is, if c1.edge == c2.edge && c1.isSource == c2.isSource. |
|
Returns the edge of the connection. |
|
Returns the port of the connection. |
|
Ensure equality of hashCode wrt equals(). |
|
Returns |
|
|
|
|
|
|
|
The edge that will be connected to the port. |
|
Indicates if |
|
The port that will be connected to the edge. |