Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-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
 Object getInputValue()
          Returns the value that should be rendered on a view for the attribute associated with this binding.
 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(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

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(Object inputVal)
Updates the attribute value associated with this binding.

Parameters:
inputVal - The new attribute value.

getLabel

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.

Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.