Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.bindings.dbf
Class IndexedAttributeBindingImpl

java.lang.Object
  extended by oracle.adfnmc.bindings.dbf.ControlBindingImpl
      extended by oracle.adfnmc.bindings.dbf.AttributeBindingImpl
          extended by oracle.adfnmc.bindings.dbf.IndexedAttributeBindingImpl
All Implemented Interfaces:
AttributeBinding, ControlBinding, IteratorAttributeValueListener, IteratorCollectionListener, IteratorPositionListener, ELResolver, PropertyValueChangeSource

public class IndexedAttributeBindingImpl
extends AttributeBindingImpl

Implementation of an attribute binding declared in a range binding. Has state to represent the index of the row being resolved (managed by the parent range binding) when a row based expression that references this attribute is being evaluated, and uses that state when resolving the attribute value from the iterator.


Field Summary
 
Fields inherited from class oracle.adfnmc.bindings.dbf.AttributeBindingImpl
attrName, expectedType
 
Fields inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl
CLASS_INSTANCE, currentError, dataControl, errors, iterBinding, metadataDef, name, parentBindingContainer
 
Fields inherited from interface oracle.adfnmc.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
IndexedAttributeBindingImpl(AttributeValuesDefinition mdDef, IteratorExecutableBindingImpl iterBinding, RangeBindingImpl parentRange)
           
IndexedAttributeBindingImpl(ListDefinition mdDef, IteratorExecutableBindingImpl iterBinding, RangeBindingImpl parentRange)
           
IndexedAttributeBindingImpl(XmlAnyDefinition mdDef, java.lang.String name, IteratorExecutableBindingImpl iterBinding, java.lang.String attrName, RangeBindingImpl parentRange)
           
 
Method Summary
 void addAttributeValueChangeListener(ValueChangeListener listener)
           
 java.lang.Object getInputValue()
          Returns the value that should be rendered on a view for the attribute associated with this binding.
 void refresh()
           
 void removeAttributeValueChangeListener(ValueChangeListener listener)
           
 void setInputValue(java.lang.Object inputVal)
          Updates the attribute value associated with this binding.
 
Methods inherited from class oracle.adfnmc.bindings.dbf.AttributeBindingImpl
addValueChangeListener, addValueListChangeListener, attributeUpdated, getBoundAttributeName, getDisplayHeight, getDisplayHint, getDisplayWidth, getExpectedType, getFormat, getInputValue, getLabel, getLabelHint, getMandatory, getPrecision, getResolver, getSingleNameValue, getSingleNameValues, getToolTip, getUpdateableHint, getValueList, isUpdateable, notifyValueChangeListeners, notifyValueListChangeListeners, positionChanged, rangeRefreshed, registerForIteratorEvents, removeValueChangeListener, removeValueListChangeListener, rowInserted, rowRemoved, unregisterForIteratorEvents
 
Methods inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl
containerInitialized, getBindings, getDataControl, getError, getErrors, getIterator, getMetadataDefinition, getName, getPath, getType, getValue, isReadOnly, prepareDeferredIterator, release, reportException, resolvePath, setListener, setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.adfnmc.bindings.AttributeBinding
getError, getErrors
 
Methods inherited from interface oracle.adfnmc.bindings.ControlBinding
containerInitialized, getBindings, getMetadataDefinition, getName, getPath, release, resolvePath, setListener
 

Constructor Detail

IndexedAttributeBindingImpl

public IndexedAttributeBindingImpl(XmlAnyDefinition mdDef,
                                   java.lang.String name,
                                   IteratorExecutableBindingImpl iterBinding,
                                   java.lang.String attrName,
                                   RangeBindingImpl parentRange)

IndexedAttributeBindingImpl

public IndexedAttributeBindingImpl(AttributeValuesDefinition mdDef,
                                   IteratorExecutableBindingImpl iterBinding,
                                   RangeBindingImpl parentRange)

IndexedAttributeBindingImpl

public IndexedAttributeBindingImpl(ListDefinition mdDef,
                                   IteratorExecutableBindingImpl iterBinding,
                                   RangeBindingImpl parentRange)
Method Detail

addAttributeValueChangeListener

public void addAttributeValueChangeListener(ValueChangeListener listener)
Overrides:
addAttributeValueChangeListener in class AttributeBindingImpl

removeAttributeValueChangeListener

public void removeAttributeValueChangeListener(ValueChangeListener listener)
Overrides:
removeAttributeValueChangeListener in class AttributeBindingImpl

getInputValue

public java.lang.Object getInputValue()
Description copied from interface: AttributeBinding
Returns the value that should be rendered on a view for the attribute associated with this binding.

Specified by:
getInputValue in interface AttributeBinding
Overrides:
getInputValue in class AttributeBindingImpl
Returns:
The attribute value.

setInputValue

public void setInputValue(java.lang.Object inputVal)
Description copied from interface: AttributeBinding
Updates 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 AttributeBinding
Overrides:
setInputValue in class AttributeBindingImpl
Parameters:
inputVal - The new attribute value.
See Also:
AttributeBinding.getErrors()

refresh

public void refresh()
Overrides:
refresh in class AttributeBindingImpl

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.