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()
BeanValidationContext
getBeanType
in interface BeanValidationContext
public Object getBeanInstance()
BeanValidationContext
getBeanInstance
in interface BeanValidationContext
public String getCurrentProperty()
BeanValidationContext
getCurrentProperty
in interface BeanValidationContext
public void setCurrentProperty(String propertyName)
BeanValidationContext
setCurrentProperty
in interface BeanValidationContext
propertyName
- name of the property${project.version} - Copyright © 2003-2015 The Apache Software Foundation.