Class XmlProcessTypeDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.r17.parsing.XmlProcessTypeDS
- All Implemented Interfaces:
IReportingDS
,IProcessTypeDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlProcessTypeDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionString[]
This method returns an array containing the names of the allowed sub types.getId()
This method should return the unique id of the process type.getName()
This method returns the name of the process type.boolean
This method returns a boolean indicating if a process of this type may contain tasks.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
-
XmlProcessTypeDS
-
-
Method Details
-
getAllowedSubTypes
Description copied from interface:IProcessTypeDS
This method returns an array containing the names of the allowed sub types. The allowed sub-types are only relevant when the process type is restricted.- Specified by:
getAllowedSubTypes
in interfaceIProcessTypeDS
- Returns:
- an array containing the names of the allowed sub types.
-
getName
Description copied from interface:IProcessTypeDS
This method returns the name of the process type.- Specified by:
getName
in interfaceIProcessTypeDS
- Returns:
- The name of the process type.
-
mayContainTasks
public boolean mayContainTasks()Description copied from interface:IProcessTypeDS
This method returns a boolean indicating if a process of this type may contain tasks. If this method returns false, only structural nodes and sub-processes will be allowed.- Specified by:
mayContainTasks
in interfaceIProcessTypeDS
- Returns:
- a boolean indicating if a process of this type may contain tasks.
-
getId
Description copied from interface:IProcessTypeDS
This method should return the unique id of the process type.- Specified by:
getId
in interfaceIProcessTypeDS
- Returns:
- String containing the id of the process type.
-