Class ParameterTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.ParameterTemplate
Template that can be used to initialize a parameter definition.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ModifierConstructorDescriptionprotected
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 TypeMethodDescriptionprotected com.aquima.interactions.project.Direction
protected com.aquima.interactions.foundation.GUID
getId()
protected String
getName()
protected com.aquima.interactions.project.ParameterType
getType()
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
-
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
-
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.
-