Class ConstraintViolationImpl.Builder<T>
java.lang.Object
de.knightsoftnet.validators.client.impl.ConstraintViolationImpl.Builder<T>
- Type Parameters:
T- the type of bean validated.
- Enclosing class:
- ConstraintViolationImpl<T>
Builder for ConstraintViolations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build new constraint violation implementation.setConstraintDescriptor(javax.validation.metadata.ConstraintDescriptor<?> constraintDescriptor) setElementType(ElementType elementType) setInvalidValue(Object invalidValue) setLeafBean(Object leafBean) setMessage(String message) setMessageTemplate(String messageTemplate) setPropertyPath(javax.validation.Path propertyPath) setRootBean(T rootBean) setRootBeanClass(Class<T> rootBeanClass)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
build new constraint violation implementation.- Returns:
- ConstraintViolationImpl
-
setConstraintDescriptor
public ConstraintViolationImpl.Builder<T> setConstraintDescriptor(javax.validation.metadata.ConstraintDescriptor<?> constraintDescriptor) -
setElementType
-
setInvalidValue
-
setLeafBean
-
setMessage
-
setMessageTemplate
-
setPropertyPath
-
setRootBean
-
setRootBeanClass
-