org.apache.openjpa.persistence.query
Class AndPredicate
java.lang.Object
org.apache.openjpa.persistence.query.LogicalPredicate
org.apache.openjpa.persistence.query.AndPredicate
- All Implemented Interfaces:
- Serializable, Predicate, Visitable
public class AndPredicate
- extends LogicalPredicate
Denotes (e1 AND e2) predicate.
- Author:
- Pinaki Poddar
- See Also:
- Serialized Form
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE
public static final String SPACE
- See Also:
- Constant Field Values
OPEN_BRACE
public static final String OPEN_BRACE
- See Also:
- Constant Field Values
CLOSE_BRACE
public static final String CLOSE_BRACE
- See Also:
- Constant Field Values
COMMA
public static final String COMMA
- See Also:
- Constant Field Values
EMPTY
public static final String EMPTY
- See Also:
- Constant Field Values
AndPredicate
public AndPredicate(Predicate p1,
Predicate p2)
asProjection
public String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
- Description copied from interface:
Visitable
- Gets the string representation in SELECT projection.
- Specified by:
asProjection
in interface Visitable
getAliasHint
public String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
- Description copied from interface:
Visitable
- Gets the hint to be used while creating alias.
- Specified by:
getAliasHint
in interface Visitable
asJoinable
public String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
- Description copied from interface:
Visitable
- Gets the string representation in FROM clause.
- Specified by:
asJoinable
in interface Visitable
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.