public class ValidationMessage extends Object implements Serializable
| Constructor and Description |
|---|
ValidationMessage(String message,
boolean error)
Constructs the message.
|
ValidationMessage(String message,
boolean error,
String row,
String column)
Constructs the message with location information.
|
ValidationMessage(String message,
boolean error,
String row,
String column,
String value)
Constructs the message with location information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColumn() |
String |
getMessage() |
String |
getRow() |
String |
getValue() |
boolean |
isError() |
String |
toString() |
public ValidationMessage(String message, boolean error)
message - the message texterror - true if this message represents an errorpublic ValidationMessage(String message, boolean error, String row, String column)
message - the message texterror - true if this message represents an errorrow - the row location description, or null for no informationcolumn - the column location description, or null for no informationpublic ValidationMessage(String message, boolean error, String row, String column, String value)
message - the message texterror - true if this message represents an errorrow - the row location description, or null for no informationcolumn - the column location description, or null for no informationvalue - the value of the field, or null for no informationpublic String getMessage()
public boolean isError()
public String getRow()
public String getColumn()
public String getValue()
Copyright © 2025 European Spallation Source. All rights reserved.