Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class NestedBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.NestedBoundValue
All Implemented Interfaces:
BoundValue

public class NestedBoundValue
extends java.lang.Object
implements BoundValue

This BoundValue is constructed with other BoundValues. It uses the getValue(..)s of the other BoundValues to construct its own value.


Constructor Summary
NestedBoundValue(java.lang.Object key)
          The key will be used to select a value from the current data object on the RenderingContext
NestedBoundValue(java.lang.Object key, BoundValue dataObject)
           
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          if any of the bound values used by this BoundValue return null, then this BoundValue also returns null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedBoundValue

public NestedBoundValue(java.lang.Object key)
The key will be used to select a value from the current data object on the RenderingContext
Parameters:
key - if this is a BoundValue, the value obtained by calling its getValue method, will be used as the key
See Also:
RenderingContext.getCurrentDataObject()

NestedBoundValue

public NestedBoundValue(java.lang.Object key,
                        BoundValue dataObject)
Parameters:
key - maybe null. If this is a BoundValue, the value obtained by calling its getValue method, will be used as the key.
dataObject - the value of this BoundValue must be a DataObject. key will be used with this DataObject to produce a return value for getValue.
See Also:
DataObject
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
if any of the bound values used by this BoundValue return null, then this BoundValue also returns null.
Specified by:
getValue in interface BoundValue
Returns:
Uses the key with the dataObject to compute the return value. If key is null, then the dataObject itself is returned.
See Also:
BoundValue.getValue(RenderingContext), DataObject.selectValue(RenderingContext, Object key)

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.