org.apache.openjpa.persistence.query
public class AndPredicate extends LogicalPredicate
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOSE_BRACE |
static java.lang.String |
COMMA |
static java.lang.String |
EMPTY |
static java.lang.String |
OPEN_BRACE |
static java.lang.String |
SPACE |
| Constructor and Description |
|---|
AndPredicate(Predicate p1,
Predicate p2) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause.
|
java.lang.String |
asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection.
|
java.lang.String |
getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the hint to be used while creating alias.
|
and, asExpression, not, orclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasJoinable, asProjection, getAliasHintpublic static final java.lang.String SPACE
public static final java.lang.String OPEN_BRACE
public static final java.lang.String CLOSE_BRACE
public static final java.lang.String COMMA
public static final java.lang.String EMPTY
public java.lang.String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitableasProjection in interface Visitablepublic java.lang.String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitablegetAliasHint in interface Visitablepublic java.lang.String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitableasJoinable in interface Visitable