|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.data.bind.ComparisonBoundValue
@Deprecated public class 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
Deprecated. True if the left and right sides are equivalent. |
static int |
COMPARISON_GREATER_THAN
Deprecated. True if the left side is greater than the right side. |
static int |
COMPARISON_GREATER_THAN_OR_EQUALS
Deprecated. True if the left side is greater than or equal to the right side. |
static int |
COMPARISON_LESS_THAN
Deprecated. True if the left side is less than the right side. |
static int |
COMPARISON_LESS_THAN_OR_EQUALS
Deprecated. True if the left side is less than or equal to the right side. |
static int |
COMPARISON_NOT_EQUALS
Deprecated. True if the left and right sides are not equivalent. |
| Constructor Summary | |
|---|---|
ComparisonBoundValue(int comparison,
BoundValue leftSideValue,
BoundValue rightSideValue)
Deprecated. |
|
ComparisonBoundValue(int comparison,
BoundValue leftSideValue,
java.lang.Object rightSide)
Deprecated. |
|
| Method Summary | |
|---|---|
static ComparisonBoundValue |
createExistsValue(BoundValue existenceValue)
Deprecated. |
java.lang.Object |
getValue(UIXRenderingContext context)
Deprecated. 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.Numbers.
public static final int COMPARISON_GREATER_THAN_OR_EQUALS
This requires that both sides be or return
java.lang.Numbers.
public static final int COMPARISON_LESS_THAN
This requires that both sides be or return
java.lang.Numbers.
public static final int COMPARISON_LESS_THAN_OR_EQUALS
This requires that both sides be or return
java.lang.Numbers.
| 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(UIXRenderingContext context)
getValue in interface BoundValuecontext - the rendering context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||