org.eclipse.viatra.integration.mwe2.mwe2impl.messages

## Class StringMessage

- java.lang.Object
- - org.eclipse.viatra.integration.mwe2.mwe2impl.messages.StringMessage

- All Implemented Interfaces:
    IMessage<java.lang.String>

      public class StringMessage
      extends java.lang.Object
      implements IMessage<java.lang.String>

  Basic message implementation that has a String typed parameter.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringMessage(java.lang.String parameter)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getParameter()` Returns the parameter of the IMessage object.
    `void` | `setParameter(java.lang.String parameter)` Sets the parameter of the IMessage object.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringMessage

          public StringMessage(java.lang.String parameter)

  - ### Method Detail

    - #### getParameter

          public java.lang.String getParameter()

      Description copied from interface: `IMessage`
      Returns the parameter of the IMessage object.
      Specified by:
        `getParameter` in interface `IMessage<java.lang.String>`
      Returns:
        The parameter

    - #### setParameter

          public void setParameter(java.lang.String parameter)

      Description copied from interface: `IMessage`
      Sets the parameter of the IMessage object.
      Specified by:
        `setParameter` in interface `IMessage<java.lang.String>`
      Parameters:
        `parameter` - New value of the parameter.