Class CaseTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.matching.CaseTemplate
This template class may be used to initialize a case.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionCaseTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String caseName) Constructs the template with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeValue
(String attributeName, com.aquima.interactions.foundation.IValue attrValue) This method may be used to set the value for an attribute.protected String
com.aquima.interactions.matching.ds.ICaseDS
This method converts the template to a data source that can be used to initialize the case.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
CaseTemplate
public CaseTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String caseName) Constructs the template with the required arguments.- Parameters:
report
- The initialization report that should be used to add error snd warnings to.caseName
- The name of the case.
-
-
Method Details
-
getCaseName
-
addAttributeValue
public void addAttributeValue(String attributeName, com.aquima.interactions.foundation.IValue attrValue) This method may be used to set the value for an attribute.- Parameters:
attributeName
- The name of the attribute.attrValue
- The value for the attribute.
-
getAttributeValues
-
toDataSource
public com.aquima.interactions.matching.ds.ICaseDS toDataSource()This method converts the template to a data source that can be used to initialize the case.- Returns:
- a data source that can be used to initialize the case.
-