public class DependentSetCriteria extends AbstractSetCriteria implements ContextReference
| Modifier and Type | Class and Description |
|---|---|
static class |
DependentSetCriteria.AttributeComparison |
PredicateCriteria.NegatableLanguageObject.Util| Constructor and Description |
|---|
DependentSetCriteria(Expression expr,
String id)
Construct with the left expression
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
DependentSetCriteria |
clone()
Deep copy of object.
|
boolean |
equals(Object obj)
Override equals() method.
|
List<DependentSetCriteria.AttributeComparison> |
getAttributes()
There is a mismatch between the expression form and the more convenient attribute comparison,
so we reconstruct when needed
|
String |
getContextSymbol() |
DependentValueSource |
getDependentValueSource() |
Option.MakeDep |
getMakeDepOptions() |
float |
getMaxNdv() |
float |
getNdv() |
Expression |
getValueExpression()
Get the independent value expression
|
int |
hashCode()
Get hash code.
|
boolean |
hasMultipleAttributes() |
void |
setAttributes(List<DependentSetCriteria.AttributeComparison> attributes) |
void |
setDependentValueSource(DependentValueSource dependentValueSource) |
void |
setMakeDepOptions(Option.MakeDep makeDep) |
void |
setMaxNdv(float maxNdv) |
void |
setNdv(float ndv) |
void |
setNegated(boolean negationFlag)
Sets the negation flag for this criteria.
|
void |
setValueExpression(Expression valueExpression)
Set the independent value expression
|
getExpression, isNegated, negate, setExpressionapplyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toStringpublic DependentSetCriteria(Expression expr, String id)
public void setAttributes(List<DependentSetCriteria.AttributeComparison> attributes)
public List<DependentSetCriteria.AttributeComparison> getAttributes()
public boolean hasMultipleAttributes()
public String getContextSymbol()
getContextSymbol in interface ContextReferencepublic float getMaxNdv()
public void setMaxNdv(float maxNdv)
public float getNdv()
public void setNdv(float ndv)
public Expression getValueExpression()
public void setValueExpression(Expression valueExpression)
valueExpression - The valueExpression to set.public void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public DependentSetCriteria clone()
clone in interface LanguageObjectclone in class AbstractSetCriteriapublic void setNegated(boolean negationFlag)
AbstractSetCriteriasetNegated in class AbstractSetCriterianegationFlag - true if this criteria contains a NOT; false otherwisepublic DependentValueSource getDependentValueSource()
public void setDependentValueSource(DependentValueSource dependentValueSource)
public void setMakeDepOptions(Option.MakeDep makeDep)
public Option.MakeDep getMakeDepOptions()
Copyright © 2019. All rights reserved.