|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.eclipse.editors.rete.model.ModelElement
org.drools.eclipse.editors.rete.model.Connection
public class Connection
A connection between two distinct vertices.
| Constructor Summary | |
|---|---|
Connection(BaseVertex source,
BaseVertex target)
Creating a connection between two distinct vertices. |
|
| Method Summary | |
|---|---|
void |
disconnect()
Disconnect this connection from the vertices it is attached to. |
BaseVertex |
getOpposite(BaseVertex vertex)
Gets opposite of specified vertex. |
BaseVertex |
getSource()
Returns the source endpoint of this connection. |
BaseVertex |
getTarget()
Returns the target endpoint of this connection. |
| Methods inherited from class org.drools.eclipse.editors.rete.model.ModelElement |
|---|
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Connection(BaseVertex source,
BaseVertex target)
source - a source endpointtarget - a target endpoint
IllegalArgumentException - if any of the parameters are null or source == target| Method Detail |
|---|
public void disconnect()
public BaseVertex getSource()
public BaseVertex getTarget()
public BaseVertex getOpposite(BaseVertex vertex)
null if specified not does not belong into this connection.
vertex -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||