- Enclosing interface:
ValidationContext
public static interface ValidationContext.Message
Represents a message object used in error message interpolation.
-
Method Summary
-
Method Details
-
template
String template()Get the template for the message. A lookup will be performed on the configured resource bundles to interpolate the message- Returns:
- The template for the message
-
attributes
Get the annotation attributes associated with the message.- Returns:
- The annotation attributes associated with the message
-
lookupkey
String lookupkey()Get the lookup key for the message.- Returns:
- The template for the message + a unique number for deduplication purposes.
-