| org.hibernate.classic.Validatable |
Implemented by persistent classes with invariants that must be checked before inserting into or updating the database.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Validate the state of the object before persisting it.
| |||||||||||
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.
| ValidationFailure | if an invariant is violated |
|---|