Package com.onec.validation
package com.onec.validation
-
ClassDescriptionEnforces the declarative
@Attributeconstraints (required, string length, numeric min/max, regex pattern, email) on an entity before write, collecting every failure into aValidationErrorskeyed by field name.Accumulates validation failures across all sources (declarative attribute constraints, customBusinessRules) 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 failedBusinessRule.