validate abstract method

ErrorList validate(
  1. Object entity
)

Validates entity and returns a list of errors

This method will return an empty list if no validation error is found

Implementation

ErrorList validate(Object entity);