|
||||||||
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 ALDDataConverter |
converter
a data converter to convert source to target class if necessary, i.e. the class of the target parameter is not assignable from the source parameter |
private boolean |
needConverter
This field is necessary for (de)serialization as the provider cannot be (de)serialized. |
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 | |
---|---|
ALDDataConverter |
getConverter()
|
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. |
boolean |
isNeedConverter()
|
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. |
protected void |
setConverter(ALDDataConverter converter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private transient ALDDataConverter converter
private boolean needConverter
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 ALDDataConverter getConverter()
public java.lang.Integer getId()
public ALDWorkflowNode getSourceNode()
public java.lang.String getSourceParameterName()
public ALDWorkflowNode getTargetNode()
public java.lang.String getTargetParameterName()
public boolean isNeedConverter()
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
- protected void setConverter(ALDDataConverter converter)
converter
- the converter to set
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |