Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`java.lang.Object` | `getBeanInstance()` Return the object to validate.
`java.lang.Class` | `getBeanType()` Returns the type of the object to validate.
`java.lang.String` | `getCurrentProperty()` Returns name of the property to validate.
`void` | `setCurrentProperty(java.lang.String propertyName)` Sets name of the property to validate.

Method Detail

### getBeanType

    java.lang.Class getBeanType()

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

### getBeanInstance

    java.lang.Object getBeanInstance()

  Return the object to validate.

### getCurrentProperty

    java.lang.String getCurrentProperty()

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

### setCurrentProperty

    void setCurrentProperty(java.lang.String propertyName)

  Sets name of the property to validate.

  Parameters:
    `propertyName` - name of the property

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.