Class RestHeaderTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.RestHeaderTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestHeaderTemplate
(String name, 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
getName()
protected Iterator
<FieldValidationTemplate> com.aquima.interactions.communication.ds.IRestHeaderDS
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
RestHeaderTemplate
-
-
Method Details
-
getName
-
getAttributeName
-
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.IRestHeaderDS toDataSource()
-