Class Message
java.lang.Object
_global.tri.oxidationstates.webapi.Message
This class represents an message to be returned to the user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this is an error message, false otherwiseReturns the message content.
-
Constructor Details
-
Message
- Parameters:
message- The message contentisErrorMessage- True if this is an error, false otherwise
-
-
Method Details
-
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
-