|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.workflow.core.impl.ConnectionImpl
public class ConnectionImpl
Default implementation of a connection.
Constructor Summary | |
---|---|
ConnectionImpl()
|
|
ConnectionImpl(Node from,
String fromType,
Node to,
String toType)
Creates a new connection, given a from node, a to node and a type. |
Method Summary | |
---|---|
void |
connect()
|
Node |
getFrom()
The Node the connection starts from. |
String |
getFromType()
The type of exit point of the from Node. |
Map<String,Object> |
getMetaData()
Meta data associated with this connection. |
Object |
getMetaData(String name)
Meta data associated with this connection. |
Node |
getTo()
The Node the connection goes to. |
String |
getToType()
The type of entry point of the to Node. |
void |
setFrom(Node from)
|
void |
setFromType(String fromType)
|
void |
setMetaData(String name,
Object value)
|
void |
setTo(Node to)
|
void |
setToType(String toType)
|
void |
terminate()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionImpl()
public ConnectionImpl(Node from, String fromType, Node to, String toType)
from
- The from nodefromType
- The node typeto
- The to nodetoType
- The connection typeMethod Detail |
---|
public void connect()
public void terminate()
public Node getFrom()
Connection
getFrom
in interface Connection
public Node getTo()
Connection
getTo
in interface Connection
public String getFromType()
Connection
getFromType
in interface Connection
public String getToType()
Connection
getToType
in interface Connection
public void setFrom(Node from)
public void setTo(Node to)
public void setFromType(String fromType)
public void setToType(String toType)
public Map<String,Object> getMetaData()
Connection
getMetaData
in interface Connection
public void setMetaData(String name, Object value)
public Object getMetaData(String name)
Connection
getMetaData
in interface Connection
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |