Class MessageVisitor
java.lang.Object
com.aquima.interactions.portal.ds.sys.dialects.MessageVisitor
- All Implemented Interfaces:
IMessageVisitor
Internal class to wrap the datasources to add dialect fallback behaviour for multilingual elements.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MessageVisitor
(IMessageVisitor visitor, FallbackLanguages fallbackLanguages) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(String key, IMultilingualText message) This method can be used to add a message to the model.
-
Constructor Details
-
MessageVisitor
-
-
Method Details
-
addMessage
Description copied from interface:IMessageVisitor
This method can be used to add a message to the model. The message object that is passed to this method must return a valid message id. The id's of the messages are unique, and thus only one message may be added for each id.- Specified by:
addMessage
in interfaceIMessageVisitor
- Parameters:
key
- The unique key that identifies the message.message
- The message that should be added to the meta-model.
-