Class ParameterTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.ParameterTemplate

public class ParameterTemplate extends AbstractReportingTemplate
Template that can be used to initialize a parameter definition.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ParameterTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name, com.aquima.interactions.project.ParameterType type, com.aquima.interactions.project.Direction direction)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.aquima.interactions.project.Direction
     
    protected com.aquima.interactions.foundation.GUID
     
    protected String
     
    protected com.aquima.interactions.project.ParameterType
     
    protected boolean
     
    protected boolean
     
    void
    setMultivalue(boolean multivalue)
    This method may be used to specify if the parameter supports multiple values.
    void
    setRequired(boolean required)
    This method may be used to specify if the parameter is required.
    com.aquima.interactions.project.ds.IParameterDS
    This method converts the template to a data source that can be used to initialize the definition.

    Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate

    getInitializationReport

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParameterTemplate

      protected ParameterTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name, com.aquima.interactions.project.ParameterType type, com.aquima.interactions.project.Direction direction)
  • Method Details

    • getId

      protected com.aquima.interactions.foundation.GUID getId()
    • getName

      protected String getName()
    • getType

      protected com.aquima.interactions.project.ParameterType getType()
    • getDirection

      protected com.aquima.interactions.project.Direction getDirection()
    • setMultivalue

      public void setMultivalue(boolean multivalue)
      This method may be used to specify if the parameter supports multiple values. The default for this attribute is false.
      Parameters:
      multivalue - Boolean indicating if multiple values are supported.
    • isMultivalue

      protected boolean isMultivalue()
    • setRequired

      public void setRequired(boolean required)
      This method may be used to specify if the parameter is required. The default for this attribute is true.
      Parameters:
      required - Boolean indicating if the parameter is required.
    • isRequired

      protected boolean isRequired()
    • toDataSource

      public com.aquima.interactions.project.ds.IParameterDS toDataSource()
      This method converts the template to a data source that can be used to initialize the definition.
      Returns:
      a data source that can be used to initialize the definition.