Package com.onec.validation


package com.onec.validation
  • Class
    Description
    Enforces the declarative @Attribute constraints (required, string length, numeric min/max, regex pattern, email) on an entity before write, collecting every failure into a ValidationErrors keyed by field name.
    Accumulates validation failures across all sources (declarative attribute constraints, custom BusinessRules) so the user sees every problem at once rather than one at a time.
    Thrown when an entity fails framework validation on the write path — a missing required attribute, an out-of-range / malformed value, or a failed BusinessRule.