public class MessageInterpolatorContext extends Object implements HibernateMessageInterpolatorContext
| Constructor and Description |
|---|
MessageInterpolatorContext(ConstraintDescriptor<?> constraintDescriptor,
Object validatedValue,
Class<?> rootBeanType,
Map<String,Object> messageParameters) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ConstraintDescriptor<?> |
getConstraintDescriptor() |
Map<String,Object> |
getMessageParameters() |
Class<?> |
getRootBeanType()
Returns the currently validated root bean type.
|
Object |
getValidatedValue() |
int |
hashCode() |
String |
toString() |
<T> T |
unwrap(Class<T> type)
Returns an instance of the specified type allowing access to
provider-specific APIs.
|
public ConstraintDescriptor<?> getConstraintDescriptor()
getConstraintDescriptor in interface MessageInterpolator.ContextConstraintDescriptor corresponding to the constraint being
validatedpublic Object getValidatedValue()
getValidatedValue in interface MessageInterpolator.Contextpublic Class<?> getRootBeanType()
HibernateMessageInterpolatorContextgetRootBeanType in interface HibernateMessageInterpolatorContextpublic <T> T unwrap(Class<T> type)
MessageInterpolator.ContextValidationException is thrown.unwrap in interface MessageInterpolator.ContextT - the type of the object to be returnedtype - the class of the object to be returnedCopyright © 2018 JBoss by Red Hat. All rights reserved.