public interface BeanFacet
BeanElement
Modifier and Type | Method and Description |
---|---|
void |
setMessage(Severity aSeverity,
String aMessage)
Sets the message to display when the constraint check fails.
|
void |
setMessage(String aMessage)
Sets the message to display when the constraint check fails.
|
void |
setMessage(UserMessage aMessage)
Sets the localized error message to display when the constraint check fails.
|
void setMessage(String aMessage)
aMessage
- the message that will be displayed with severity error.void setMessage(Severity aSeverity, String aMessage)
aSeverity
- the severity of the message.aMessage
- the message that will be displayed.void setMessage(UserMessage aMessage)
aMessage
- the localized message and severity that will be displayed.