Class Message

All Implemented Interfaces:
Serializable

public class Message extends Comet3Entity

Java Interface for message complex type. For internal use only

The following schema fragment specifies the expected content contained within this class.

 <complexType name="message">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="translation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Constructor Details

    • Message

      public Message()
      Instantiates a new Message.
    • Message

      public Message(int id)
      Instantiates a new Message.
      Parameters:
      id - the id
  • Method Details

    • getKey

      public String getKey()
      Gets key.
      Returns:
      the key
    • setKey

      public void setKey(String key)
      Sets key.
      Parameters:
      key - the key
    • getTranslation

      public String getTranslation()
      Gets translation.
      Returns:
      the translation
    • setTranslation

      public void setTranslation(String translation)
      Sets translation.
      Parameters:
      translation - the translation