Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface Validatable
Method Summary | |
void |
|
public void validate() throws ValidationFailure
Validate the state of the object before persisting it. If a violation occurs, throw a ValidationFailure. This method must not change the state of the object by side-effect.
- Throws:
ValidationFailure
- if an invariant is violated