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