Class Message

java.lang.Object
_global.tri.oxidationstates.webapi.Message

public class Message extends Object
This class represents an message to be returned to the user.
  • Constructor Details

    • Message

      public Message(String message, boolean isErrorMessage)
      Parameters:
      message - The message content
      isErrorMessage - True if this is an error, false otherwise
  • Method Details

    • getMessageString

      public String getMessageString()
      Returns the message content.
      Returns:
      the message content.
    • getIsErrorMessage

      public boolean getIsErrorMessage()
      Returns true if this is an error message, false otherwise
      Returns:
      true if this is an error message, false otherwise