java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.matching.CaseTemplate

public class CaseTemplate extends AbstractReportingTemplate
This template class may be used to initialize a case.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • 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

      protected String 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

      protected Iterator<Map.Entry<String,com.aquima.interactions.foundation.IValue>> 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.