Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.bindings
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.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.adfmf.bindings.ControlBinding
containerInitialized, getBindings, getMetadataDefinition, getName, release

 

Method Detail

getInputValue

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

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

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

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.