Package org.eclipse.persistence.jaxb
Class ConstraintViolationWrapper<T>
java.lang.Object
org.eclipse.persistence.jaxb.ConstraintViolationWrapper<T>
Wrapper over
ConstraintViolation
class. Required due to optional nature of jakarta.validation bundle.- Author:
- Dmitry Kornilov
-
Constructor Summary
ConstructorDescriptionConstraintViolationWrapper
(jakarta.validation.ConstraintViolation<T> constraintViolation) Creates a new wrapper. -
Method Summary
-
Constructor Details
-
ConstraintViolationWrapper
Creates a new wrapper.- Parameters:
constraintViolation
- original object
-
-
Method Details
-
getMessage
- See Also:
-
ConstraintViolation.getMessage()
-
getMessageTemplate
- See Also:
-
ConstraintViolation.getMessageTemplate()
-
getRootBean
- See Also:
-
ConstraintViolation.getRootBean()
-
getRootBeanClass
- See Also:
-
ConstraintViolation.getRootBeanClass()
-
getLeafBean
- See Also:
-
ConstraintViolation.getLeafBean()
-
getExecutableParameters
- See Also:
-
ConstraintViolation.getExecutableParameters()
-
getExecutableReturnValue
- See Also:
-
ConstraintViolation.getExecutableReturnValue()
-
getPropertyPath
public jakarta.validation.Path getPropertyPath()- See Also:
-
ConstraintViolation.getPropertyPath()
-
getInvalidValue
- See Also:
-
ConstraintViolation.getInvalidValue()
-
getConstraintDescriptor
public jakarta.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()- See Also:
-
ConstraintViolation.getConstraintDescriptor()
-
unwrap
Unwraps original object and returns it.
-