Class Message


  • public class Message
    extends java.lang.Object
    Simple java bean for a message.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String text
      The message text.
    • Constructor Summary

      Constructors 
      Constructor Description
      Message()
      Create a new message.
      Message​(java.lang.String text)
      Create a new message.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()
      Get the text.
      static boolean getText2​(java.lang.String a)
      Get the text.
      void setText​(java.lang.String text)
      Set the text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • text

        protected java.lang.String text
        The message text.
    • Constructor Detail

      • Message

        public Message()
        Create a new message.
        Parameters:
        text - The text.
      • Message

        public Message​(java.lang.String text)
        Create a new message.
        Parameters:
        text - The text.
    • Method Detail

      • getText

        public java.lang.String getText()
        Get the text.
        Returns:
        The text.
      • setText

        public void setText​(java.lang.String text)
        Set the text.
        Parameters:
        text - The text.
      • getText2

        public static boolean getText2​(java.lang.String a)
        Get the text.
        Returns:
        The text.