Class RestUrnArgumentTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.RestUrnArgumentTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestUrnArgumentTemplate
(String name, String constant, String attributeName, boolean required, com.aquima.interactions.foundation.report.IInitializationReport report) protected
RestUrnArgumentTemplate
(String name, String constant, String attributeName, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionaddValidation
(String type) This method may be used to add a validation to the field.protected String
protected String
protected String
getName()
protected Iterator
<FieldValidationTemplate> protected boolean
com.aquima.interactions.communication.ds.IRestUrnArgumentDS
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
RestUrnArgumentTemplate
-
RestUrnArgumentTemplate
-
-
Method Details
-
getName
-
getConstant
-
getAttributeName
-
isRequired
protected boolean isRequired() -
addValidation
This method may be used to add a validation to the field.- Parameters:
type
- The type of the validation that should be added.- Returns:
- Template representing the newly added validation.
-
getValidations
-
toDataSource
public com.aquima.interactions.communication.ds.IRestUrnArgumentDS toDataSource()
-