Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class AndBoundValue

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

public class AndBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that returns Boolean.TRUE if both passed in BoundValues return Boolean.TRUE and returns Boolean.FALSE otherwise.

Short circuiting is supported, so that if the first BoudnValue returns Boolean.FALSE, the value of the second BoundValue will never be requested.


Constructor Summary
AndBoundValue(BoundValue[] values)
          Creates a AndBoundValue.
AndBoundValue(BoundValue value1, BoundValue value2)
          Creates a AndBoundValue.
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndBoundValue

public AndBoundValue(BoundValue value1,
                     BoundValue value2)
Creates a AndBoundValue. Null parameters are treated as if their value returns Boolean.FALSE.

Parameters:
value1 - first BoundValue to AND the result of
value2 - second BoundValue to AND the result of.

AndBoundValue

public AndBoundValue(BoundValue[] values)
Creates a AndBoundValue. Null array elements are treated as if their value returns Boolean.FALSE.

Parameters:
values - array of BoundValues to AND the result of
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Following copied from interface: oracle.cabo.ui.data.BoundValue
Parameters:
context - the rendering context

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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