Interface Validator<T>
- All Known Implementing Classes:
SpringValidator
public interface Validator<T>
Interface used to validate objects.- Author:
- tomas.slanina
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(T value)
Method used to validate if the value is valid.
Method Detail
validate
void validate(T value) throws ValidationException
Method used to validate if the value is valid.- Parameters:
value
- object to be validated- Throws:
ValidationException
- if value is not valid.