public class ExistsCriteria extends PredicateCriteria implements SubqueryContainer.Evaluatable<QueryCommand>, ContextReference, PredicateCriteria.Negatable
Modifier and Type | Class and Description |
---|---|
static class |
ExistsCriteria.SubqueryHint |
PredicateCriteria.Negatable
SubqueryContainer.Evaluatable<T extends Command>
LanguageObject.Util
Constructor and Description |
---|
ExistsCriteria()
Default constructor
|
ExistsCriteria(QueryCommand subqueryCommand) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Deep copy of object.
|
boolean |
equals(Object obj)
Override equals() method.
|
QueryCommand |
getCommand()
Returns the subquery Command object
|
String |
getContextSymbol() |
ExistsCriteria.SubqueryHint |
getSubqueryHint() |
int |
hashCode()
Get hash code.
|
boolean |
isNegated() |
void |
negate() |
void |
setCommand(QueryCommand subqueryCommand)
Sets the subquery Command object
|
void |
setNegated(boolean negated) |
void |
setShouldEvaluate(boolean shouldEvaluate) |
void |
setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint) |
boolean |
shouldEvaluate() |
applyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toString
public ExistsCriteria()
public ExistsCriteria(QueryCommand subqueryCommand)
public boolean shouldEvaluate()
shouldEvaluate
in interface SubqueryContainer.Evaluatable<QueryCommand>
public void setShouldEvaluate(boolean shouldEvaluate)
setShouldEvaluate
in interface SubqueryContainer.Evaluatable<QueryCommand>
public String getContextSymbol()
getContextSymbol
in interface ContextReference
public QueryCommand getCommand()
SubqueryContainer
getCommand
in interface SubqueryContainer<QueryCommand>
public void setCommand(QueryCommand subqueryCommand)
SubqueryContainer
setCommand
in interface SubqueryContainer<QueryCommand>
subqueryCommand
- the subquery Command objectpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public ExistsCriteria.SubqueryHint getSubqueryHint()
public void setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint)
public Object clone()
clone
in interface LanguageObject
clone
in class PredicateCriteria
Object.clone()
public boolean isNegated()
public void setNegated(boolean negated)
public void negate()
negate
in interface PredicateCriteria.Negatable
Copyright © 2020. All rights reserved.