|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
This constructor calls connect() itself! |
|
| 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)
|
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)
connect() itself! That means
that simply creating the object also adds it to the appropriate
List fields in other objects.
Creates a new connection, given a from node, a to node
and a type.
from - The from nodefromType - The node typeto - The to nodetoType - The connection type| Method Detail |
|---|
public void connect()
public void terminate()
public Node getFrom()
Connection
getFrom in interface Connectionpublic Node getTo()
Connection
getTo in interface Connectionpublic String getFromType()
Connection
getFromType in interface Connectionpublic String getToType()
Connection
getToType in interface Connectionpublic 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)
public String toString()
toString in class Object
|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||