public final class Message extends Object
A validation message consists of three mandatory fields and optional information. The three mandatory fields are:
Domain);Example of the JSON representation of one message:
{
"domain": "validation",
"keyword": "maxItems",
"message": "too many elements in array",
"maxItems": 4,
"found": 5
}
You cannot instantiate this class directly: use Domain.newMessage() for that.
This class is immutable.
Message.Builder,
ValidationReport| Modifier and Type | Class and Description |
|---|---|
static class |
Message.Builder
Builder class for a
Message |
Copyright © 2012. All Rights Reserved.