org.granite.client.validation
Class ServerConstraintViolation
java.lang.Object
org.granite.client.validation.ServerConstraintViolation
- All Implemented Interfaces:
- ConstraintViolation<Object>
public class ServerConstraintViolation
- extends Object
- implements ConstraintViolation<Object>
Represents a constraint violation received from the server.
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConstraintViolation
public ServerConstraintViolation(InvalidValue invalidValue,
Object rootBean,
Object bean)
- Constructs a new
ServerConstraintViolation instance.
- Parameters:
invalidValue - serialized server-side ConstraintViolationrootBean - root beanbean - leaf bean
getInvalidValue
public InvalidValue getInvalidValue()
- Specified by:
getInvalidValue in interface ConstraintViolation<Object>
getRootBean
public Object getRootBean()
- Specified by:
getRootBean in interface ConstraintViolation<Object>
getRootBeanClass
public Class<Object> getRootBeanClass()
- Specified by:
getRootBeanClass in interface ConstraintViolation<Object>
getLeafBean
public Object getLeafBean()
- Specified by:
getLeafBean in interface ConstraintViolation<Object>
getPropertyPath
public Path getPropertyPath()
- Specified by:
getPropertyPath in interface ConstraintViolation<Object>
getMessage
public String getMessage()
- Specified by:
getMessage in interface ConstraintViolation<Object>
getMessageTemplate
public String getMessageTemplate()
- Specified by:
getMessageTemplate in interface ConstraintViolation<Object>
getConstraintDescriptor
public ConstraintDescriptor<?> getConstraintDescriptor()
- Specified by:
getConstraintDescriptor in interface ConstraintViolation<Object>