Class XmlFieldValidationDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.communication.ds.xml.r17.parsing.XmlFieldValidationDS
- All Implemented Interfaces:
IFieldValidationDS
,IReportingDS
Xml datasource implementation.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Constructor Summary
ModifierConstructorDescriptionprotected
XmlFieldValidationDS
(IInitializationReport report, IXmlNode node, String tagName) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the condition that should be evaluated to determine if the validation should be active.This method returns the text that should be shown when a value does not pass the validation.getType()
this method return the name of the validator type.void
This method returns a map containing parameters for the validator.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlFieldValidationDS
-
-
Method Details
-
getType
Description copied from interface:IFieldValidationDS
this method return the name of the validator type.- Specified by:
getType
in interfaceIFieldValidationDS
- Returns:
- the name of the validator type.
-
getMessage
Description copied from interface:IFieldValidationDS
This method returns the text that should be shown when a value does not pass the validation. The text may contain TSL, the message will be expanded after the (invalid) value is evaluated.- Specified by:
getMessage
in interfaceIFieldValidationDS
- Returns:
- text that should be shown when a value does not pass the validation.
-
getCondition
Description copied from interface:IFieldValidationDS
This method returns the condition that should be evaluated to determine if the validation should be active.- Specified by:
getCondition
in interfaceIFieldValidationDS
- Returns:
- the condition that should be evaluated to determine if the validation should be active.
-
iterateParameters
Description copied from interface:IFieldValidationDS
This method returns a map containing parameters for the validator. If the validator does not require any parameters.- Specified by:
iterateParameters
in interfaceIFieldValidationDS
- Parameters:
visitor
- the visitor which accepts the parameter information
-