Class MessagesBox

    • Field Detail

      • properties

        protected Properties properties
        List of generic properties
    • Constructor Detail

      • MessagesBox

        public MessagesBox()
    • Method Detail

      • getHost

        public String getHost()
        Returns:
        the host
      • setHost

        public void setHost​(String host)
        Parameters:
        host - the host to set
      • getDbName

        public String getDbName()
        Returns:
      • setDbName

        public void setDbName​(String dbName)
        Parameters:
        dbName -
      • getDbUser

        public String getDbUser()
        Returns:
      • setDbUser

        public void setDbUser​(String dbUser)
        Parameters:
        dbUser -
      • getDbPass

        public String getDbPass()
        Returns:
      • setDbPass

        public void setDbPass​(String dbPass)
        Parameters:
        dbPass -
      • getDbTable

        public String getDbTable()
        Returns:
        the table with messages
      • setDbTable

        public void setDbTable​(String dbTable)
        Parameters:
        dbTable - the table with messages to set
      • newCopy

        public MessagesBox newCopy()
        Returns:
        a new copy of this Box
      • toString

        public String toString()
      • getProperty

        public String getProperty​(String name)
        Get a generic property associated with this box
        Parameters:
        name - name of the property
        Returns:
        value of the property
      • getProperties

        public Map<String,​Object> getProperties()
        Get all properties associated with this box
      • setProperty

        public void setProperty​(String name,
                                String value)
        Associate a property with this box (not to be exposed to clients)
        Parameters:
        name - name of the property
        value - value of the property
      • verifyNotNullNorEmptyParameter

        protected void verifyNotNullNorEmptyParameter​(String key,
                                                      String value)
      • getNewProperties

        protected Properties getNewProperties()