public interface HibernateConstraintViolation<T>
extends javax.validation.ConstraintViolation<T>
ConstraintViolation
which allows to get additional information for a constraint violation.Modifier and Type | Method and Description |
---|---|
<C> C |
getDynamicPayload(java.lang.Class<C> type) |
<C> C getDynamicPayload(java.lang.Class<C> type)
type
- The type of payload to retrieveHibernateConstraintValidatorContext.withDynamicPayload(Object)
or null
if no constraint payload
if the given type has been set.Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved