Class ValueMappingDefinition
- java.lang.Object
-
- com.aquima.interactions.mapping.impl.ValueMappingDefinition
-
- All Implemented Interfaces:
IValueMappingDefinition
,Serializable
public class ValueMappingDefinition extends Object implements IValueMappingDefinition
This class contains a single value mapping definition.- Since:
- 7.1
- Author:
- J. van Leuven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValueMappingDefinition​(ICondition condition, IExpression expression, IJustificationTreeMappingDefinition justificationTreeMappingDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICondition
getCondition()
This method returns the condition that should be evaluated in order to determine if the mapping is applicable.IJustificationTreeMappingDefinition
getJustificationTreeMappingDefinition()
IExpression
getValueExpression()
This method returns the expression that should be evaluated to determine the actual value.
-
-
-
Constructor Detail
-
ValueMappingDefinition
protected ValueMappingDefinition​(ICondition condition, IExpression expression, IJustificationTreeMappingDefinition justificationTreeMappingDefinition)
-
-
Method Detail
-
getCondition
public ICondition 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
public IExpression 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
public IJustificationTreeMappingDefinition getJustificationTreeMappingDefinition()
- Specified by:
getJustificationTreeMappingDefinition
in interfaceIValueMappingDefinition
- Returns:
- - the
IJustificationTreeMappingDefinition
for this value mapping ornull
if no justification tree has been mapped
-
-