org.openxava.validators
Interface IWithMessage

All Known Implementing Classes:
NotBlankCharacterValidator, NotEmptyStringValidator, NotNegativeValidator, NotNullValidator, NotZeroValidator, PositiveValidator

public interface IWithMessage

To be implemented by an entity or property validator to get the message from the annotation. For example, if you define a validator for a property in this way:

Since:
4.6.1
Author:
Javier Paniza

Method Summary
 void setMessage(java.lang.String message)
           
 

Method Detail

setMessage

void setMessage(java.lang.String message)