Class LessEqualExpression
- java.lang.Object
 - 
- org.apache.openjpa.persistence.query.LessEqualExpression
 
 
- 
public class LessEqualExpression extends java.lang.ObjectDenotes e1 <= e2 Expression.- Author:
 - Pinaki Poddar
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Expression_e1protected Expression_e2protected BinaryConditionalOperator_opstatic java.lang.StringCLOSE_BRACEstatic java.lang.StringCOMMAstatic java.lang.StringEMPTYstatic java.lang.StringOPEN_BRACE 
- 
Constructor Summary
Constructors Constructor Description LessEqualExpression(Expression op1, Expression op2) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicateand(Predicate predicate)Creates an AND of the predicate with the argument.java.lang.StringasExpression(org.apache.openjpa.persistence.query.AliasContext ctx)Get a JPQL fragment as used in WHERE clause.java.lang.StringasJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the string representation in FROM clause.java.lang.StringasProjection(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the string representation in SELECT projection.java.lang.StringgetAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the hint to be used while creating alias.ExpressiongetOperand()ExpressiongetOperand2()BinaryConditionalOperatorgetOperator()Predicatenot()Creates a negation of the predicate with the argument.Predicateor(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
- 
_e1
protected final Expression _e1
 
- 
_e2
protected final Expression _e2
 
- 
_op
protected final BinaryConditionalOperator _op
 
- 
OPEN_BRACE
public static final java.lang.String OPEN_BRACE
- See Also:
 - Constant Field Values
 
 
- 
CLOSE_BRACE
public static final java.lang.String CLOSE_BRACE
- See Also:
 - Constant Field Values
 
 
- 
COMMA
public static final java.lang.String COMMA
- See Also:
 - Constant Field Values
 
 
- 
EMPTY
public static final java.lang.String EMPTY
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
LessEqualExpression
public LessEqualExpression(Expression op1, Expression op2)
 
 - 
 
- 
Method Detail
- 
getOperand
public final Expression getOperand()
 
- 
getOperand2
public final Expression getOperand2()
 
- 
getOperator
public final BinaryConditionalOperator getOperator()
 
- 
and
public Predicate and(Predicate predicate)
Description copied from interface:PredicateCreates an AND of the predicate with the argument. 
- 
or
public Predicate or(Predicate predicate)
Description copied from interface:PredicateCreates an OR of the predicate with the argument. 
- 
not
public Predicate not()
Description copied from interface:PredicateCreates a negation of the predicate with the argument. 
- 
asExpression
public java.lang.String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Description copied from interface:VisitableGet a JPQL fragment as used in WHERE clause.- Specified by:
 asExpressionin interfaceVisitable
 
- 
asProjection
public java.lang.String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Description copied from interface:VisitableGets the string representation in SELECT projection.- Specified by:
 asProjectionin interfaceVisitable
 
- 
getAliasHint
public java.lang.String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Description copied from interface:VisitableGets the hint to be used while creating alias.- Specified by:
 getAliasHintin interfaceVisitable
 
- 
asJoinable
public java.lang.String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Description copied from interface:VisitableGets the string representation in FROM clause.- Specified by:
 asJoinablein interfaceVisitable
 
 - 
 
 -