Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.binding
Interface AttributeBinding

All Superinterfaces:
  ControlBinding

public interface AttributeBinding
extends ControlBinding

A ControlBinding that binds a single attribute value exposed via a datacontrol to a view component.
This interface is implemented by the data binding framework, and is made available to the View components through the binding container.

Method Summary
`java.util.List` | `getErrors()` Returns a list of errors that were raised during the last setInputValue call.
`java.lang.Object` | `getInputValue()` Returns the value that should be rendered on a view for the attribute associated with this binding.
`java.lang.String` | `getLabel()` Returns the display label or prompt for the attribute represented by this binding.
`boolean` | `isUpdateable()` Finds out whether the attribute is updateable or is for display only.
`void` | `setInputValue(java.lang.Object inputVal)` Updates the attribute value associated with this binding.

Methods inherited from interface oracle.binding.ControlBinding
`getName, getPath, release, resolvePath, setListener`

Method Detail

### getInputValue

    public java.lang.Object getInputValue()

  Returns the value that should be rendered on a view for the attribute associated with this binding.
  Returns:
    The attribute value.

### setInputValue

    public void setInputValue(java.lang.Object inputVal)

  Updates the attribute value associated with this binding. If there are exceptions while updating this attribute, these exceptions should be accessible via getErrors().
  Parameters:
    `inputVal` - The new attribute value.
  See Also:
    `getErrors()`

### getLabel

    public java.lang.String getLabel()

  Returns the display label or prompt for the attribute represented by this binding.
  Returns:
    The display label or prompt string.

### isUpdateable

    public boolean isUpdateable()

  Finds out whether the attribute is updateable or is for display only.
  Returns:
    True if the attribute is updateable, false otherwise.

### getErrors

    public java.util.List getErrors()

  Returns a list of errors that were raised during the last setInputValue call.
  Returns:
    A list of Throwable that were raised during setInputValue(). It returns null if there is no error occurred.
  See Also:
    `setInputValue(Object)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1997, 2005, Oracle. All rights reserved.