atg.scenario.filter
Class ExpressionFilter

java.lang.Object
  extended by atg.scenario.filter.Filter
      extended by atg.scenario.filter.ExpressionFilter

Deprecated. This class has been deprecated in favour of atg.process.filter.ExpressionFilter

public abstract class ExpressionFilter
extends Filter

A filter which is satisfied if applying its operator to its operands (which are Expression objects) yields true.

See Also:
ExpressionFilter

Field Summary
static java.lang.String CLASS_VERSION
          Deprecated. Class version string
 
Fields inherited from class atg.scenario.filter.Filter
FALSE, TRUE
 
Constructor Summary
ExpressionFilter()
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class atg.scenario.filter.Filter
andFilters, andFilters, assumeFalse, assumeTrue, createProfileQuery, createScenarioInstanceQuery, evaluate, getProfileType, implies, negate, orFilters, orFilters, test
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Deprecated. 
Class version string

Constructor Detail

ExpressionFilter

public ExpressionFilter()
Deprecated. 
Method Detail

getOperator

public java.lang.String getOperator()
Deprecated. 
Returns the operator.


setOperator

public void setOperator(java.lang.String pOperator)
Deprecated. 
Sets the operator.


getOperands

public Expression[] getOperands()
Deprecated. 
Returns the operands.


setOperands

public void setOperands(Expression[] pOperands)
Deprecated. 
Sets the operands.


initialize

public void initialize(java.lang.String pOperator,
                       Expression[] pOperands)
                throws ScenarioException
Deprecated. 
Initializes this ExpressionFilter, given its operator and operands. The default implementation of this method simply sets the operator and operands properties. Subclasses may want to override this method to do any other initialization. For example, a subclass may want to impose restrictions on the number and/or type of operands for a given operator, etc.

Throws:
ScenarioException - if the filter could not be initialized

equals

public boolean equals(java.lang.Object pObject)
Deprecated. 
Returns true if the given object is an ExpressionFilter with the same operator and operands.

Overrides:
equals in class java.lang.Object

operandsEquals

protected boolean operandsEquals(ExpressionFilter pFilter)
Deprecated. 
Returns true if the given ExpressionFilter has the same operands as this ExpressionFilter.


toString

public java.lang.String toString()
Deprecated. 
Returns the String representation of the filter.

Overrides:
toString in class java.lang.Object