public abstract class ExpressionFilter extends Filter
Expression
objects) yields true.ExpressionFilter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated.
Class version string
|
Constructor and Description |
---|
ExpressionFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject)
Deprecated.
Returns true if the given object is an ExpressionFilter with the
same operator and operands.
|
Expression[] |
getOperands()
Deprecated.
Returns the operands.
|
java.lang.String |
getOperator()
Deprecated.
Returns the operator.
|
void |
initialize(java.lang.String pOperator,
Expression[] pOperands)
Deprecated.
Initializes this ExpressionFilter, given its operator and
operands.
|
protected boolean |
operandsEquals(ExpressionFilter pFilter)
Deprecated.
Returns true if the given ExpressionFilter has the same operands
as this ExpressionFilter.
|
void |
setOperands(Expression[] pOperands)
Deprecated.
Sets the operands.
|
void |
setOperator(java.lang.String pOperator)
Deprecated.
Sets the operator.
|
java.lang.String |
toString()
Deprecated.
Returns the String representation of the filter.
|
andFilters, andFilters, assumeFalse, assumeTrue, createProfileQuery, createScenarioInstanceQuery, evaluate, getProfileType, implies, negate, orFilters, orFilters, test
public static java.lang.String CLASS_VERSION
public java.lang.String getOperator()
public void setOperator(java.lang.String pOperator)
public Expression[] getOperands()
public void setOperands(Expression[] pOperands)
public void initialize(java.lang.String pOperator, Expression[] pOperands) throws ScenarioException
ScenarioException
- if the filter could not be
initializedpublic boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
protected boolean operandsEquals(ExpressionFilter pFilter)
public java.lang.String toString()
toString
in class java.lang.Object