Class ValidationDelegateVisitor
java.lang.Object
com.aquima.interactions.rule.ds.delegate.ValidationDelegateVisitor
- All Implemented Interfaces:
IRuleVisitor
,IValidationVisitor
- Direct Known Subclasses:
ValidationVisitor
Delegate datasource for easy datasource extension. All method calls are delegated to the delegate visitor without
adding any functionality.
- Since:
- 8.0
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValidation
(IValidationDS datasource) This method may be used to add a validation rule by providing a data source that can be used to initialize a standard validation.void
addValidation
(IValidationRule rule) This method may be used to add a custom validation rule to the rule engine.This method returns the meta model of the rule engine.This method returns the expression parser of the rule engine which may be used to parse expressions and dynamic texts.
-
Constructor Details
-
ValidationDelegateVisitor
-
-
Method Details
-
addValidation
Description copied from interface:IValidationVisitor
This method may be used to add a validation rule by providing a data source that can be used to initialize a standard validation.- Specified by:
addValidation
in interfaceIValidationVisitor
- Parameters:
datasource
- Data source capable of providing the data needed to initialize a validation rule.
-
addValidation
Description copied from interface:IValidationVisitor
This method may be used to add a custom validation rule to the rule engine.- Specified by:
addValidation
in interfaceIValidationVisitor
- Parameters:
rule
- Custom implementation of the validation rule interface.
-
getParser
Description copied from interface:IRuleVisitor
This method returns the expression parser of the rule engine which may be used to parse expressions and dynamic texts.- Specified by:
getParser
in interfaceIRuleVisitor
- Returns:
- the expression parser of the rule engine.
-
getMetaModel
Description copied from interface:IRuleVisitor
This method returns the meta model of the rule engine.- Specified by:
getMetaModel
in interfaceIRuleVisitor
- Returns:
- the meta model of the rule engine.
-