Class ValueMappingDefinition
java.lang.Object
com.aquima.interactions.mapping.impl.ValueMappingDefinition
- All Implemented Interfaces:
IValueMappingDefinition
,Serializable
This class contains a single value mapping definition.
- Since:
- 7.1
- Author:
- J. van Leuven
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ValueMappingDefinition
(ICondition condition, IExpression expression, IJustificationTreeMappingDefinition justificationTreeMappingDefinition) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the condition that should be evaluated in order to determine if the mapping is applicable.This method returns the expression that should be evaluated to determine the actual value.
-
Constructor Details
-
ValueMappingDefinition
protected ValueMappingDefinition(ICondition condition, IExpression expression, IJustificationTreeMappingDefinition justificationTreeMappingDefinition)
-
-
Method Details
-
getCondition
Description copied from interface:IValueMappingDefinition
This method returns the condition that should be evaluated in order to determine if the mapping is applicable.- Specified by:
getCondition
in interfaceIValueMappingDefinition
- Returns:
- the condition that should be evaluated in order to determine if the mapping is applicable, never null
-
getValueExpression
Description copied from interface:IValueMappingDefinition
This method returns the expression that should be evaluated to determine the actual value.- Specified by:
getValueExpression
in interfaceIValueMappingDefinition
- Returns:
- the expression that should be evaluated to determine the actual value, never null
-
getJustificationTreeMappingDefinition
- Specified by:
getJustificationTreeMappingDefinition
in interfaceIValueMappingDefinition
- Returns:
- - the
IJustificationTreeMappingDefinition
for this value mapping ornull
if no justification tree has been mapped
-