public interface SelfValidating
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Check this object's data for inconsistencies
Subclasses must (by informal contract) implement this method!
|
void validate()
throws ValidationException
ValidationException - if the data is invalid