Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.adf.model
Interface AttributesBinding

All Superinterfaces:
AttributesBinding, ControlBinding

public interface AttributesBinding
extends ControlBinding, AttributesBinding

A ControlBinding that binds a single attribute value exposed via a datacontrol to a view component.


Method Summary
 java.lang.Object getInputValue(int index)
          Return the value that should be rendered on a view for the attribute associated with this binding.
 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)
          Update the attribute value associated with this binding.
 
Methods inherited from interface oracle.adf.model.ControlBinding
release, setListener
 
Methods inherited from interface oracle.binding.AttributesBinding
getErrors
 
Methods inherited from interface oracle.binding.ControlBinding
getName, getPath, release, resolvePath, setListener
 

Method Detail

getInputValue

java.lang.Object getInputValue(int index)
Return the value that should be rendered on a view for the attribute associated with this binding.

Specified by:
getInputValue in interface AttributesBinding
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)
Update the attribute value associated with this binding. If there are exceptions while updating this attribute, these exceptions should be accessible via getErrors()

Specified by:
setInputValue in interface AttributesBinding
Parameters:
index - index of the attribute to be updated.
inputVal - The new attribute value.

isUpdateable

boolean isUpdateable(int index)
Description copied from interface: AttributesBinding
Finds out whether the attribute is updateable or is for display only.

Specified by:
isUpdateable in interface AttributesBinding
Returns:
True if the attribute is updateable, false otherwise.

getLabelSet

java.lang.String[] getLabelSet()
Description copied from interface: AttributesBinding
Returns the display label or prompt for the all the attributes represented by this binding.

Specified by:
getLabelSet in interface AttributesBinding
Returns:
An array of the display label or prompt strings, one per attribute represented by this AttributesBinding.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

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