ValidationMessage

ValidationMessage

Overview

ValidationMessage is a class in Aspose.Cells FOSS for Java.

Represents a validation message with code, severity, and message text.

This class provides 6 methods for working with ValidationMessage objects in Java programs. Available methods include: getCode, getMessage, getSeverity, setCode, setMessage, setSeverity. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: code, message, severity.

Properties

NameTypeAccessDescription
codeStringReadReturns the code.
severityValidationMessageSeverityReadReturns the severity.
messageStringReadReturns the message.

Methods

SignatureDescription
getCode()StringReturns the code.
setCode(code: String)Sets the code.
getSeverity()ValidationMessageSeverityReturns the severity.
setSeverity(severity: ValidationMessageSeverity)Sets the severity.
getMessage()StringReturns the message.
setMessage(message: String)Sets the message.

See Also