public interface Validatable
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validate the state of the object before persisting it.
|
void validate() throws ValidationFailure
ValidationFailure
- if an invariant is violatedCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved