private Stream<ConstraintD<?>> getConstraints() { return owner.getConstraintDescriptors().stream().<ConstraintD<?>> map(c -> c.unwrap(ConstraintD.class)); }
private Stream<ConstraintD<?>> getConstraints() { return owner.getConstraintDescriptors().stream().<ConstraintD<?>> map(c -> c.unwrap(ConstraintD.class)); }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, rootBean, context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), rootBeanClass, context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, null); } }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, rootBean, context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), rootBeanClass, context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, null); } }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, bean, context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, null); } }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, bean, context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, null); } }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<T>(messageTemplate, message, getRootBean(), context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, parameterValues); }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, getRootBean(), context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), returnValue, null); }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<>(messageTemplate, message, getRootBean(), context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), returnValue, null); }
@Override ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath) { return new ConstraintViolationImpl<T>(messageTemplate, message, getRootBean(), context.getFrame().getBean(), propertyPath, context.getFrame().context.getValue(), context.getConstraintDescriptor(), getRootBeanClass(), context.getConstraintDescriptor().unwrap(ConstraintD.class).getDeclaredOn(), null, parameterValues); }