|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.expr.olap.DataBasedFilterExpression_Between
public class DataBasedFilterExpression_Between
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 |
---|
public static final java.lang.String EVENT_WHAT_TO_FILTER_CHANGED
public static final java.lang.String EVENT_COMPARISON_OPERATOR_CHANGED
public static final java.lang.String EVENT_LOWER_BOUND_CHANGED
public static final java.lang.String EVENT_UPPER_BOUND_CHANGED
public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
Constructor Detail |
---|
public DataBasedFilterExpression_Between()
Method Detail |
---|
public void setWhatToFilter(ExpressionInterface expr)
expr
- is the value in question and must not be a CompoundConditionalExpressionpublic ExpressionInterface getWhatToFilter()
public void setWhatToCompare(java.util.List values)
values
- expression being tested for the between expressionpublic java.util.List getWhatToCompare()
public void setLowerBound(java.util.List values)
values
- the lower bound of the between expression.public java.util.List getLowerBound()
public void setUpperBound(java.util.List values)
values
- the upper bound of the between expressionpublic java.util.List getUpperBound()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |