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 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.

- - ### Method Detail

    - #### getBeanType

          Class getBeanType()

      Returns the type of the object to validate. This method is needed for client side validation.

    - #### getBeanInstance

          Object getBeanInstance()

      Return the object to validate.

    - #### getCurrentProperty

          String getCurrentProperty()

      Returns name of the property to validate. The current name is overwritten by every form field.

    - #### setCurrentProperty

          void setCurrentProperty(String propertyName)

      Sets name of the property to validate.
      Parameters:
        `propertyName` - name of the property

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.