Class XmlProcessEdgeDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.parsing.XmlProcessEdgeDS
- All Implemented Interfaces:
IReportingDS
,IProcessEdgeDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlProcessEdgeDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the condition that is defined for the edge.This method returns the exit state the edge should connect to from the source node.This method returns the reevaluation eventlong
This method returns the sequence number of the edge.This method returns the ID of the node the edge originates from.This method returns the ID of the node to edge is directed to.boolean
This method returns a boolean indicating if this edge is used to define an exception exit.boolean
This method returns a boolean indicating if the edge is used to define a timeout condition.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlProcessEdgeDS
-
-
Method Details
-
getCondition
Description copied from interface:IProcessEdgeDS
This method returns the condition that is defined for the edge. A condition is only relevant for timer edges, and edges that originate from a split node.- Specified by:
getCondition
in interfaceIProcessEdgeDS
- Returns:
- the condition that is defined for the edge.
-
getExitState
Description copied from interface:IProcessEdgeDS
This method returns the exit state the edge should connect to from the source node. If the edge should be connected to the default exit, the value null should be returned. The exit state is only relevant for edges that have a task or process as source node.- Specified by:
getExitState
in interfaceIProcessEdgeDS
- Returns:
- The exit event from the source node that should be connected to.
-
getSequenceNr
public long getSequenceNr()Description copied from interface:IProcessEdgeDS
This method returns the sequence number of the edge. The sequence numbers of the edges connected to a node will be used to sort the edges on. The edge with the lowest sequence number will be processed first. If the order of the edges is not relevant, the value zero may be returned.- Specified by:
getSequenceNr
in interfaceIProcessEdgeDS
- Returns:
- The sequence number of the edge.
-
getSourceNodeId
Description copied from interface:IProcessEdgeDS
This method returns the ID of the node the edge originates from.- Specified by:
getSourceNodeId
in interfaceIProcessEdgeDS
- Returns:
- the id of the node the edge originates from.
-
getTargetNodeId
Description copied from interface:IProcessEdgeDS
This method returns the ID of the node to edge is directed to.- Specified by:
getTargetNodeId
in interfaceIProcessEdgeDS
- Returns:
- the ID of the node to edge is directed to.
-
isExceptionEdge
public boolean isExceptionEdge()Description copied from interface:IProcessEdgeDS
This method returns a boolean indicating if this edge is used to define an exception exit.- Specified by:
isExceptionEdge
in interfaceIProcessEdgeDS
- Returns:
- boolean indicating if this edge is used to define an exception exit.
-
isTimerEdge
public boolean isTimerEdge()Description copied from interface:IProcessEdgeDS
This method returns a boolean indicating if the edge is used to define a timeout condition.- Specified by:
isTimerEdge
in interfaceIProcessEdgeDS
- Returns:
- boolean indicating if the edge is used to define a timeout condition.
-
getReevaluationEvent
Description copied from interface:IProcessEdgeDS
This method returns the reevaluation event- Specified by:
getReevaluationEvent
in interfaceIProcessEdgeDS
- Returns:
- The reevaluation event
-