public final Set < ConstraintViolation < Object > > getConstraintViolations ( ) { if ( constraintViolations == null ) { return null ; } return Collections . unmodifiableSet ( constraintViolations ) ; }
Returns the constraint violations .