public interface HibernateConstraintViolation<T> extends ConstraintViolation<T>
ConstraintViolation
which allows to get additional information for a constraint violation.Modifier and Type | Method and Description |
---|---|
<C> C |
getDynamicPayload(Class<C> type) |
getConstraintDescriptor, getExecutableParameters, getExecutableReturnValue, getInvalidValue, getLeafBean, getMessage, getMessageTemplate, getPropertyPath, getRootBean, getRootBeanClass, unwrap
<C> C getDynamicPayload(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 © 2021 JBoss by Red Hat. All rights reserved.