|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.workflows.ALDWorkflowEdge
public class ALDWorkflowEdge
This class represents an edge within an work flow. It connects an output parameter of the source node with an input parameter of the target node. Parameters are referenced via names.
Field Summary | |
---|---|
private ALDWorkflowNode |
sourceNode
source node of this edge in the work flow |
private java.lang.String |
sourceParameterName
parameter name in source node |
private ALDWorkflowNode |
targetNode
target node of this edge in the work flow |
private java.lang.String |
targetParameterName
parameter name in target node |
Constructor Summary | |
---|---|
ALDWorkflowEdge(ALDWorkflowNode sourceNode,
java.lang.String sourceParameterName,
ALDWorkflowNode targetNode,
java.lang.String targetParameterName)
Create an edge with the given source and target. |
Method Summary | |
---|---|
java.lang.Integer |
getId()
Return the id associated with this edge. |
ALDWorkflowNode |
getSourceNode()
Returns the source node. |
java.lang.String |
getSourceParameterName()
Returns the parameter name of the source. |
ALDWorkflowNode |
getTargetNode()
Returns the target node. |
java.lang.String |
getTargetParameterName()
Returns the parameter name of the target. |
void |
print()
Print information of this edge to standard out. |
protected void |
redirectSource(ALDWorkflowNode newSourceNode,
java.lang.String newSourceParameterName)
Redirect the source of this edge |
protected void |
redirectTarget(ALDWorkflowNode newTargetNode,
java.lang.String newTargetParameterName)
Redirect the target of this node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ALDWorkflowNode sourceNode
private java.lang.String sourceParameterName
private ALDWorkflowNode targetNode
private java.lang.String targetParameterName
Constructor Detail |
---|
public ALDWorkflowEdge(ALDWorkflowNode sourceNode, java.lang.String sourceParameterName, ALDWorkflowNode targetNode, java.lang.String targetParameterName)
sourceNode
- sourceParameterName
- targetNode
- targetParameterName
- Method Detail |
---|
public java.lang.Integer getId()
public ALDWorkflowNode getSourceNode()
public java.lang.String getSourceParameterName()
public ALDWorkflowNode getTargetNode()
public java.lang.String getTargetParameterName()
public void print()
protected void redirectSource(ALDWorkflowNode newSourceNode, java.lang.String newSourceParameterName)
newSourceNode
- newSourceParameterName
- protected void redirectTarget(ALDWorkflowNode newTargetNode, java.lang.String newTargetParameterName)
newTargetNode
- newTargetParameterName
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |