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
Modifier and TypeMethodDescriptionReturn the object to validate.Returns the type of the object to validate.Returns name of the property to validate.voidsetCurrentProperty(String propertyName) Sets name of the property to validate.
-
Method Details
-
getBeanType
Returns the type of the object to validate. This method is needed for client side validation. -
getBeanInstance
Return the object to validate. -
getCurrentProperty
Returns name of the property to validate. The current name is overwritten by every form field. -
setCurrentProperty
Sets name of the property to validate.- Parameters:
propertyName- name of the property
-