|
||||||||||
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.
Constructor Summary | |
---|---|
ALDWorkflowEdge(ALDWorkflowNode sourceNode,
String sourceParameterName,
ALDWorkflowNode targetNode,
String targetParameterName)
Create an edge with the given source and target. |
Method Summary | |
---|---|
ALDDataConverter |
getConverter()
|
Integer |
getId()
Return the id associated with this edge. |
ALDWorkflowNode |
getSourceNode()
Returns the source node. |
String |
getSourceParameterName()
Returns the parameter name of the source. |
ALDWorkflowNode |
getTargetNode()
Returns the target node. |
String |
getTargetParameterName()
Returns the parameter name of the target. |
boolean |
isNeedConverter()
|
void |
print()
Print information of this edge to standard out. |
protected void |
redirectSource(ALDWorkflowNode newSourceNode,
String newSourceParameterName)
Redirect the source of this edge |
protected void |
redirectTarget(ALDWorkflowNode newTargetNode,
String newTargetParameterName)
Redirect the target of this node. |
protected void |
setConverter(ALDDataConverter converter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALDWorkflowEdge(ALDWorkflowNode sourceNode, String sourceParameterName, ALDWorkflowNode targetNode, String targetParameterName)
sourceNode
- sourceParameterName
- targetNode
- targetParameterName
- Method Detail |
---|
public ALDWorkflowNode getSourceNode()
public String getSourceParameterName()
public ALDWorkflowNode getTargetNode()
public String getTargetParameterName()
public Integer getId()
protected void redirectSource(ALDWorkflowNode newSourceNode, String newSourceParameterName)
newSourceNode
- newSourceParameterName
- protected void redirectTarget(ALDWorkflowNode newTargetNode, String newTargetParameterName)
newTargetNode
- newTargetParameterName
- public ALDDataConverter getConverter()
protected void setConverter(ALDDataConverter converter)
converter
- the converter to setpublic boolean isNeedConverter()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |