Class XmlNodeDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.flow.ds.xml.parsing.XmlNodeDS
- All Implemented Interfaces:
INodeDS
,IReportingDS
- Direct Known Subclasses:
XmlActionNodeDS
,XmlEventNodeDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the exit event for the flow's end node.Returns the exit state for the flow's end node.When the node is a condition node, the expression should contain a condition expression.getId()
This method should return the unique id of the node (unique within the flow).This method returns the attribute that should be used to store the current value when repeating over primitive values.When the node is a flow node, the expression may contain a repeat expression.This method returns the attribute that should be used to sort the values for the repeat expression.This method should return the ID of the object the node represents.getType()
This method should return the type of the node.boolean
This method returns a boolean indicating if the repreat values should be sorted in ascending order.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
-
XmlNodeDS
-
-
Method Details
-
getEndNodeExitEvent
Description copied from interface:INodeDS
Returns the exit event for the flow's end node. The exit event is used to link this flow's end to a next edge in a parent flow.- Specified by:
getEndNodeExitEvent
in interfaceINodeDS
- Returns:
- The exit event for the end node, will be null when the {
INodeDS.getType()
is not an end node type.
-
getEndNodeExitState
Description copied from interface:INodeDS
Returns the exit state for the flow's end node. The exit state is can be used by the flow handler to determine a rollback/commit or exception state.A flow has end nodes of one of the following 3 types: ok,cancel,exception.
- Specified by:
getEndNodeExitState
in interfaceINodeDS
- Returns:
- The exit state for the end node, will be null when the {
INodeDS.getType()
is not an end node type.
-
getExpression
Description copied from interface:INodeDS
When the node is a condition node, the expression should contain a condition expression.- Specified by:
getExpression
in interfaceINodeDS
- Returns:
- The condition expression.
-
getTargetId
Description copied from interface:INodeDS
This method should return the ID of the object the node represents. In case of an action node this method will probably return the name of a service, where as a flow node would return the name of the flow.- Specified by:
getTargetId
in interfaceINodeDS
- Returns:
- String
-
getType
Description copied from interface:INodeDS
This method should return the type of the node. -
getId
Description copied from interface:INodeDS
This method should return the unique id of the node (unique within the flow). -
getRepeatExpression
Description copied from interface:INodeDS
When the node is a flow node, the expression may contain a repeat expression.- Specified by:
getRepeatExpression
in interfaceINodeDS
- Returns:
- The repeat expression, may be null.
-
getSortAttribute
Description copied from interface:INodeDS
This method returns the attribute that should be used to sort the values for the repeat expression. This method is only relevant when a repeat expression has been specified.- Specified by:
getSortAttribute
in interfaceINodeDS
- Returns:
- the attribute that should be used to sort the instances on that where returned from the context expression.
-
sortAscending
public boolean sortAscending()Description copied from interface:INodeDS
This method returns a boolean indicating if the repreat values should be sorted in ascending order. This method is only relevant when a repeat expression has been specified.- Specified by:
sortAscending
in interfaceINodeDS
- Returns:
- a boolean indicating if the values should be sorted in ascending order.
-
getPrimitiveTargetAttribute
Description copied from interface:INodeDS
This method returns the attribute that should be used to store the current value when repeating over primitive values. This method is only relevant with a repeat expression resulting in primitives has been specified.- Specified by:
getPrimitiveTargetAttribute
in interfaceINodeDS
- Returns:
- the attribute that should be used to store the current value of a repeat iteration
-