Class CaseValueVisitor
java.lang.Object
com.aquima.interactions.matching.impl.model.CaseValueVisitor
- All Implemented Interfaces:
ICaseValueVisitor
This visitor is used during initialization to add values to a case.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CaseValueVisitor
(IEntityDefinition entityDefinition, Case matchableCase, IMatchDefinition[] matchDefinitions, String defaultKeyField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
When a setValue is invoked for a relation attribute, the value should be either the name or the ID of the case that should be referenced.void
When a setValue is invoked for a relation attribute, the value should be either the name or the ID of the case that should be referenced.
-
Constructor Details
-
CaseValueVisitor
protected CaseValueVisitor(IEntityDefinition entityDefinition, Case matchableCase, IMatchDefinition[] matchDefinitions, String defaultKeyField)
-
-
Method Details
-
setValue
-
setValue
Description copied from interface:ICaseValueVisitor
When a setValue is invoked for a relation attribute, the value should be either the name or the ID of the case that should be referenced.- Specified by:
setValue
in interfaceICaseValueVisitor
- Parameters:
attribute
- The name of the attribute of which the value should be set.attributeValue
- The value for the attribute.
-
setValues
Description copied from interface:ICaseValueVisitor
When a setValue is invoked for a relation attribute, the value should be either the name or the ID of the case that should be referenced.- Specified by:
setValues
in interfaceICaseValueVisitor
- Parameters:
attribute
- The name of the attribute of which the value should be set.attributeValues
- The values for the attribute.
-