Class MVCMessage

    • Constructor Detail

      • MVCMessage

        public MVCMessage()
        Basic constructor
      • MVCMessage

        public MVCMessage​(String strMessage)
        Constructor
        Parameters:
        strMessage - The message
      • MVCMessage

        public MVCMessage​(String strMessage,
                          String strFieldName)
        Constructor
        Parameters:
        strMessage - The message
        strFieldName - the field name
    • Method Detail

      • getMessage

        public String getMessage()
        Returns the error's message
        Specified by:
        getMessage in interface ErrorMessage
        Returns:
        The message
      • setMessage

        public void setMessage​(String message)
        Set the content of this error message
        Parameters:
        message - the message to set
      • setFieldName

        public void setFieldName​(String strFieldName)
        Set the FieldName
        Parameters:
        FieldName - the FieldName to set