Class TargetDefinition
java.lang.Object
com.aquima.interactions.rule.impl.datarule.TargetDefinition
- All Implemented Interfaces:
ITargetDefinition
This class holds the target definition of a datarule model.
- Since:
- 8.3
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TargetDefinition
(ITargetDS datasource, IMetaModel metamodel, String ruleName) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the source field name that will produce the value for this data rule.This method returns the attribute for which the rule can provide a value.
-
Constructor Details
-
TargetDefinition
protected TargetDefinition(ITargetDS datasource, IMetaModel metamodel, String ruleName) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getTargetAttribute
Description copied from interface:ITargetDefinition
This method returns the attribute for which the rule can provide a value.- Specified by:
getTargetAttribute
in interfaceITargetDefinition
- Returns:
- the attribute for which the rule can provide a value, never null.
-
getSourceFieldName
Description copied from interface:ITargetDefinition
This method returns the source field name that will produce the value for this data rule.- Specified by:
getSourceFieldName
in interfaceITargetDefinition
- Returns:
- the name of the source field, never null.
-