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 © 2013. All Rights Reserved.