Class MessageEventTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.MessageEventTemplate
Template class for initializing a messge event.
- Since:
- 9.1
- Author:
- A. Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionMessageEventTemplate
(String name, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(String name, com.aquima.interactions.foundation.DataType dataType, boolean allowMultivalued, boolean required) This method adds a datafield to the message event.protected List
<MessageEventFieldTemplate> protected String
getName()
com.aquima.interactions.process.ds.IMessageEventDS
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
MessageEventTemplate
public MessageEventTemplate(String name, com.aquima.interactions.foundation.report.IInitializationReport report)
-
-
Method Details
-
getName
-
addField
public void addField(String name, com.aquima.interactions.foundation.DataType dataType, boolean allowMultivalued, boolean required) This method adds a datafield to the message event.- Parameters:
name
- The unique name of the data field.dataType
- The datatype of the field.allowMultivalued
- Indicator whether the field allows multivalued data.required
- Indicator whether the field is required.
-
getFields
-
toDataSource
public com.aquima.interactions.process.ds.IMessageEventDS toDataSource()
-