org.beanfabrics.support
Annotation Type Validation
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Validation
This annotation is processed by the ValidationSupport
and marks a
method as a validation method. Such a method is used from a validation rule.
It must either declare the boolean type as return type or a
ValidationState
. It must not declare any parameter types.
For a more precise description of the validation framework, please see
Beanfabrics tutorial on the validation framework
- See Also:
SortOrder
path
public abstract java.lang.String[] path
- Default:
- "this"
message
public abstract java.lang.String message
- Default:
- ""
validWhen
public abstract boolean validWhen
- Default:
- true