| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.persistence.query.GreaterEqualExpression
public class GreaterEqualExpression
Denotes e1 >= e2 Expression.
| Field Summary | |
|---|---|
protected  Expression | 
_e1
 | 
protected  Expression | 
_e2
 | 
protected  BinaryConditionalOperator | 
_op
 | 
static String | 
CLOSE_BRACE
 | 
static String | 
COMMA
 | 
static String | 
EMPTY
 | 
static String | 
OPEN_BRACE
 | 
| Constructor Summary | |
|---|---|
GreaterEqualExpression(Expression op1,
                       Expression op2)
 | 
|
| Method Summary | |
|---|---|
 Predicate | 
and(Predicate predicate)
Creates an AND of the predicate with the argument.  | 
 String | 
asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.  | 
 String | 
asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause.  | 
 String | 
asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection.  | 
 String | 
getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the hint to be used while creating alias.  | 
 Expression | 
getOperand()
 | 
 Expression | 
getOperand2()
 | 
 BinaryConditionalOperator | 
getOperator()
 | 
 Predicate | 
not()
Creates a negation of the predicate with the argument.  | 
 Predicate | 
or(Predicate predicate)
Creates an OR of the predicate with the argument.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.openjpa.persistence.query.Visitable | 
|---|
asJoinable, asProjection, getAliasHint | 
| Field Detail | 
|---|
protected final Expression _e1
protected final Expression _e2
protected final BinaryConditionalOperator _op
public static final String OPEN_BRACE
public static final String CLOSE_BRACE
public static final String COMMA
public static final String EMPTY
| Constructor Detail | 
|---|
public GreaterEqualExpression(Expression op1,
                              Expression op2)
| Method Detail | 
|---|
public final Expression getOperand()
public final Expression getOperand2()
public final BinaryConditionalOperator getOperator()
public Predicate and(Predicate predicate)
Predicate
and in interface Predicatepredicate - -
                  A simple or compound predicate
public Predicate or(Predicate predicate)
Predicate
or in interface Predicatepredicate - -
                  A simple or compound predicate
public Predicate not()
Predicate
not in interface Predicatepublic String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asExpression in interface Visitablepublic String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asProjection in interface Visitablepublic String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
getAliasHint in interface Visitablepublic String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asJoinable in interface Visitable
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||