***  This class is subject to change.  ***

com.sas.iquery.metadata.expr.olap
Class DataBasedFilterExpression_Between

com.sas.iquery.metadata.expr.olap.DataBasedFilterExpression_Between
All Implemented Interfaces:
Base, BusinessModelResourceReferencer, ModelItem, UsabilityInterface, ExpressionInterface, PropertyChangeListenee, java.beans.PropertyChangeListener, java.lang.Cloneable, java.util.EventListener

public class DataBasedFilterExpression_Between
implements BusinessModelResourceReferencer

Models the "between" simple conditional expression. This is of the format {WhatToFilter} where {whatToCompare} is Between {lowerBound} and {upperBound} inclusive . The comparison operator defaults to "Less than or Equal To".

See the ConditionalExpression class for a description of the organization of of ConditionalExpression classes.


Field Summary
static java.lang.String EVENT_COMPARISON_OPERATOR_CHANGED
          Indication that what comparison operator has changed.
static java.lang.String EVENT_LOWER_BOUND_CHANGED
          Indication that lower portion of range for filter has changed.
static java.lang.String EVENT_UPPER_BOUND_CHANGED
          Indication that upper portion of range for filter has changed.
static java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
          Indication that what is compared has changed.
static java.lang.String EVENT_WHAT_TO_FILTER_CHANGED
          Indication that what to filter has changed.
 
Fields inherited from class com.sas.iquery.metadata.expr.ConditionalExpression
EVENT_NEGATION_CHANGED
 
Fields inherited from interface com.sas.iquery.metadata.business.Base
EVENT_OBJECT_DEFINITION_CHANGED
 
Fields inherited from interface com.sas.iquery.metadata.business.ModelItem
EVENT_OBJECT_PROPERTY_CHANGED
 
Constructor Summary
DataBasedFilterExpression_Between()
           
 
Method Summary
 java.util.List getLowerBound()
          Gets the left expression for this conditional expression.
 java.util.List getUpperBound()
          Gets the right expression for this conditional expression.
 java.util.List getWhatToCompare()
          Gets the center portion of the between expression A <= B <= C.
 ExpressionInterface getWhatToFilter()
           
 void setLowerBound(java.util.List values)
          Sets the left expression for this conditional expression.
 void setUpperBound(java.util.List values)
          Sets the right expression portion of the conditional expression.
 void setWhatToCompare(java.util.List values)
          Sets the center portion of the between expression A <= B <= C.
 void setWhatToFilter(ExpressionInterface expr)
          Sets the value of what will be filtered.
 
Methods inherited from class com.sas.iquery.metadata.expr.ConditionalExpression
getExpressionType, isNegated, setIsNegated
 
Methods inherited from interface com.sas.iquery.metadata.business.BusinessModelResourceReferencer
getResources
 
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee
addListener, getListeners, removeListener
 
Methods inherited from interface com.sas.iquery.metadata.business.UsabilityInterface
getReasonsUnusable, isUsableInQuery
 

Field Detail

***  This field is subject to change.  ***

EVENT_WHAT_TO_FILTER_CHANGED

public static final java.lang.String EVENT_WHAT_TO_FILTER_CHANGED
Indication that what to filter has changed.

See Also:
Constant Field Values

***  This field is subject to change.  ***

EVENT_COMPARISON_OPERATOR_CHANGED

public static final java.lang.String EVENT_COMPARISON_OPERATOR_CHANGED
Indication that what comparison operator has changed.

See Also:
Constant Field Values

***  This field is subject to change.  ***

EVENT_LOWER_BOUND_CHANGED

public static final java.lang.String EVENT_LOWER_BOUND_CHANGED
Indication that lower portion of range for filter has changed.

See Also:
Constant Field Values

***  This field is subject to change.  ***

EVENT_UPPER_BOUND_CHANGED

public static final java.lang.String EVENT_UPPER_BOUND_CHANGED
Indication that upper portion of range for filter has changed.

See Also:
Constant Field Values

***  This field is subject to change.  ***

EVENT_WHAT_TO_COMPARE_CHANGED

public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
Indication that what is compared has changed.

See Also:
Constant Field Values
Constructor Detail

DataBasedFilterExpression_Between

public DataBasedFilterExpression_Between()
Method Detail
***  This method is subject to change.  ***

setWhatToFilter

public void setWhatToFilter(ExpressionInterface expr)
Sets the value of what will be filtered.

Parameters:
expr - is the value in question and must not be a CompoundConditionalExpression

***  This method is subject to change.  ***

getWhatToFilter

public ExpressionInterface getWhatToFilter()

***  This method is subject to change.  ***

setWhatToCompare

public void setWhatToCompare(java.util.List values)
Sets the center portion of the between expression A <= B <= C. This is commonly a List of StringExpression representing Member Names or DataItem (with structure of Measure).

Parameters:
values - expression being tested for the between expression

***  This method is subject to change.  ***

getWhatToCompare

public java.util.List getWhatToCompare()
Gets the center portion of the between expression A <= B <= C. This is commonly a List of StringExpressions representing Member Names or DataItem (with structure of Measure).

Returns:
the expression being tested for the between expression

***  This method is subject to change.  ***

setLowerBound

public void setLowerBound(java.util.List values)
Sets the left expression for this conditional expression. This is commonly a single ConstantExpression representing a constant value to be used in the expression, but could also be a more general expression or a list of StringExpressions representing Member Names.

Parameters:
values - the lower bound of the between expression.

***  This method is subject to change.  ***

getLowerBound

public java.util.List getLowerBound()
Gets the left expression for this conditional expression. This is commonly a single ConstantExpression representing a constant value to be used in the expression, but could also be a more general expression or a list of StringExpressions representing Member Names.

Returns:
the lower bound of the between expression.

***  This method is subject to change.  ***

setUpperBound

public void setUpperBound(java.util.List values)
Sets the right expression portion of the conditional expression. This is commonly a single ConstantExpression representing a constant value to be used in the expression, but could also be a more general expression or a list of StringExpressions representing Member Names.

Parameters:
values - the upper bound of the between expression

***  This method is subject to change.  ***

getUpperBound

public java.util.List getUpperBound()
Gets the right expression for this conditional expression. This is commonly a single ConstantExpression representing a constant value to be used in the expression, but could also be a more general expression or a list of StringExpressions representing Member Names.

Returns:
the upper bound of the between expression

***  This class is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.