org.hibernate.validator.engine
Class ConstraintViolationImpl<T>
java.lang.Object
org.hibernate.validator.engine.ConstraintViolationImpl<T>
- All Implemented Interfaces:
- Serializable, ConstraintViolation<T>
public class ConstraintViolationImpl<T>
- extends Object
- implements ConstraintViolation<T>, Serializable
- Author:
- Emmanuel Bernard, Hardy Ferentschik
- See Also:
- Serialized Form
ConstraintViolationImpl
public ConstraintViolationImpl(String messageTemplate,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor constraintDescriptor,
ElementType elementType)
getMessage
public String getMessage()
- Specified by:
getMessage
in interface ConstraintViolation<T>
getMessageTemplate
public String getMessageTemplate()
- Specified by:
getMessageTemplate
in interface ConstraintViolation<T>
getRootBean
public T getRootBean()
- Specified by:
getRootBean
in interface ConstraintViolation<T>
getRootBeanClass
public Class<T> getRootBeanClass()
- Specified by:
getRootBeanClass
in interface ConstraintViolation<T>
getLeafBean
public Object getLeafBean()
- Specified by:
getLeafBean
in interface ConstraintViolation<T>
getInvalidValue
public Object getInvalidValue()
- Specified by:
getInvalidValue
in interface ConstraintViolation<T>
getPropertyPath
public Path getPropertyPath()
- Specified by:
getPropertyPath
in interface ConstraintViolation<T>
getConstraintDescriptor
public ConstraintDescriptor getConstraintDescriptor()
- Specified by:
getConstraintDescriptor
in interface ConstraintViolation<T>
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2010 Red Hat Middleware, LLC. All Rights Reserved