|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Post
After the annotated method has been executed the condition is evaluated.
In case of constraint violations the method will throw an ConstraintsViolatedException.
Required Element Summary | |
---|---|
String |
expr
Formula in the given expression language describing the constraint. the formula must return true if the constraint is satisfied. |
String |
lang
the expression language that is used |
Optional Element Summary | |
---|---|
String |
errorCode
error code passed to the ConstraintViolation object |
String |
message
message to be used for the ContraintsViolatedException |
String |
old
Formula that is evaluated prior method execution. |
String[] |
profiles
The associated constraint profiles. |
int |
severity
severity passed to the ConstraintViolation object |
Element Detail |
---|
public abstract String expr
public abstract String lang
public abstract String errorCode
public abstract String message
ConstraintsViolatedException
public abstract String old
public abstract String[] profiles
public abstract int severity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |