|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.bind.ComparisonBoundValue
Booolean BoundValue that compares either two BoundValues or a BoundValues and an Object with a comparison operator and returns the Boolean result.
Only BoundValues that return java.lang.Numbers
or
java.lang.Numbers
can be used with comparisons other than
COMPARISON_EQUALS
and COMPARISON_NOT_EQUALS
Field Summary | |
static int |
COMPARISON_EQUALS
True if the left and right sides are equivalent. |
static int |
COMPARISON_GREATER_THAN
True if the left side is greater than the right side. |
static int |
COMPARISON_GREATER_THAN_OR_EQUALS
True if the left side is greater than or equal to the right side. |
static int |
COMPARISON_LESS_THAN
True if the left side is less than the right side. |
static int |
COMPARISON_LESS_THAN_OR_EQUALS
True if the left side is less than or equal to the right side. |
static int |
COMPARISON_NOT_EQUALS
True if the left and right sides are not equivalent. |
Constructor Summary | |
ComparisonBoundValue(int comparison,
BoundValue leftSideValue,
BoundValue rightSideValue)
|
|
ComparisonBoundValue(int comparison,
BoundValue leftSideValue,
java.lang.Object rightSide)
|
Method Summary | |
static ComparisonBoundValue |
createExistsValue(BoundValue existenceValue)
|
java.lang.Object |
getValue(RenderingContext context)
Calculates the current state of the model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COMPARISON_EQUALS
public static final int COMPARISON_NOT_EQUALS
public static final int COMPARISON_GREATER_THAN
This requires that both sides be or return
java.lang.Number
s.
public static final int COMPARISON_GREATER_THAN_OR_EQUALS
This requires that both sides be or return
java.lang.Number
s.
public static final int COMPARISON_LESS_THAN
This requires that both sides be or return
java.lang.Number
s.
public static final int COMPARISON_LESS_THAN_OR_EQUALS
This requires that both sides be or return
java.lang.Number
s.
Constructor Detail |
public ComparisonBoundValue(int comparison, BoundValue leftSideValue, BoundValue rightSideValue)
public ComparisonBoundValue(int comparison, BoundValue leftSideValue, java.lang.Object rightSide)
Method Detail |
public static ComparisonBoundValue createExistsValue(BoundValue existenceValue)
public java.lang.Object getValue(RenderingContext context)
getValue
in interface BoundValue
oracle.cabo.ui.data.BoundValue
context
- the rendering context
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |