public class BeanValidationContextImpl extends java.lang.Object implements BeanValidationContext
| Constructor and Description |
|---|
BeanValidationContextImpl(java.lang.Object bean) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBeanInstance()
Return the object to validate.
|
java.lang.Class |
getBeanType()
Returns the type of the object to validate.
|
java.lang.String |
getCurrentProperty()
Returns name of the property to validate.
|
void |
setCurrentProperty(java.lang.String propertyName)
Sets name of the property to validate.
|
public BeanValidationContextImpl(java.lang.Object bean)
public java.lang.Class getBeanType()
BeanValidationContextgetBeanType in interface BeanValidationContextpublic java.lang.Object getBeanInstance()
BeanValidationContextgetBeanInstance in interface BeanValidationContextpublic java.lang.String getCurrentProperty()
BeanValidationContextgetCurrentProperty in interface BeanValidationContextpublic void setCurrentProperty(java.lang.String propertyName)
BeanValidationContextsetCurrentProperty in interface BeanValidationContextpropertyName - name of the property${project.version} - Copyright © 2003-2015 The Apache Software Foundation.