JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle ADF Model
12c (12.1.3)

E41647-01
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
oracle.binding

Interface AttributesBinding

  • All Superinterfaces:
    ControlBinding
    All Known Subinterfaces:
    AttributesBinding
    All Known Implementing Classes:
    JUCtrlAdaptValueBindingRef, JUCtrlValueBindingRef


    public interface AttributesBinding
    extends ControlBinding 
    A ControlBinding that binds multiple attribute values exposed via a datacontrol to a view component, and manages access to the actual values.
    This interface is implemented by the data binding framework, and is made available to the View components through the binding container.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      java.util.List getErrors ()
      Returns a list of errors that were raised during the last setInputValue call.
      java.lang.Object getInputValue (int index)
      Returns the value that should be rendered on a view for the attribute associated with this binding at the specified position.
      java.lang.String[] getLabelSet ()
      Returns the display label or prompt for the all the attributes represented by this binding.
      boolean isUpdateable (int index)
      Finds out whether the attribute is updateable or is for display only.
      void setInputValue (int index, java.lang.Object inputVal)
      Updates the attribute value associated with this binding at the given position.
    • Method Detail

      • getInputValue

        java.lang.Object getInputValue(int index)
        Returns the value that should be rendered on a view for the attribute associated with this binding at the specified position.
        Parameters:
        index - index of the attribute to retrieve.
        Returns:
        The attribute value at the specified position, or null if the given index is out of range or no attribute can be found at the specified position.
      • setInputValue

        void setInputValue(int index,
         java.lang.Object inputVal)
        Updates the attribute value associated with this binding at the given position. If there are exceptions while updating this attribute, these exceptions should be accessible via getErrors().
        Parameters:
        index - index of the attribute to be updated.
        inputVal - The new attribute value.
      • isUpdateable

        boolean isUpdateable(int index)
        Finds out whether the attribute is updateable or is for display only.
        Returns:
        True if the attribute is updateable, false otherwise.
      • getLabelSet

        java.lang.String[] getLabelSet()
        Returns the display label or prompt for the all the attributes represented by this binding.
        Returns:
        An array of the display label or prompt strings, one per attribute represented by this AttributesBinding.
      • getErrors

        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(int, Object)
Oracle Fusion Middleware Java API Reference for Oracle ADF Model
12c (12.1.3)

E41647-01
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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

AltStyle によって変換されたページ (->オリジナル) /