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 Details

    • MessageVisitor

      protected MessageVisitor(Project metaModel)
  • Method Details

    • 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 interface IMessageVisitor
      Parameters:
      key - The unique key that identifies the message.
      message - The message that should be added to the meta-model.