net.sf.oval.guard
Annotation Type PreValidateThis


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PreValidateThis

Before the annotated method is executed all field and getter constraints (invariants) of this object are validated. If constraint violations occur, the annotated method will not be executed instead it will throw a ConstraintsViolatedException exception.

Author:
Sebastian Thomschke



Copyright © 2005–2015 The OVal Development Team. All rights reserved.