Package org.apache.tapestry5.internal
Interface BeanValidationContext
-
- All Known Implementing Classes:
BeanValidationContextImpl
public interface BeanValidationContext
Defines a context for validating beans.- Since:
- 5.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description getBeanInstance()
Return the object to validate.getBeanType()
Returns the type of the object to validate.getCurrentProperty()
Returns name of the property to validate.void
propertyName)
Sets name of the property to validate.
-
-
-
Method Detail
-
getBeanType
getBeanType()
Returns the type of the object to validate. This method is needed for client side validation.
-
getBeanInstance
getBeanInstance()
Return the object to validate.
-
getCurrentProperty
getCurrentProperty()
Returns name of the property to validate. The current name is overwritten by every form field.
-
setCurrentProperty
void propertyName)
Sets name of the property to validate.- Parameters:
propertyName
- name of the property
-
-