Class MessageVisitor
- java.lang.Object
-
- com.aquima.interactions.project.impl.MessageVisitor
-
- All Implemented Interfaces:
IMessageVisitor
public class MessageVisitor extends Object implements IMessageVisitor
Implementation of the message visitor interface used during initialization of the messages from data source.- Since:
- 5.0
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageVisitor(Project metaModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMessage(String key, IMultilingualText message)
This method can be used to add a message to the model.
-
-
-
Constructor Detail
-
MessageVisitor
protected MessageVisitor(Project metaModel)
-
-
Method Detail
-
addMessage
public void addMessage(String key, IMultilingualText message)
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.
-
-