Class Message

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • Message

        public Message()
        Instantiates a new Message.
      • Message

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

      • getKey

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

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

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

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