|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.metadata.expr.olap.DataBasedFilterExpression
@SASScope(value="ALL") public class DataBasedFilterExpression
Models the "comparison" simple conditional expression.
This is of the format {WhatToFilter} where {LeftExpression} {ComparisonOperator} {RightExpression}.
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_LEFT_EXPRESSION_CHANGED
Indication that left portion of expression has changed. |
static java.lang.String |
EVENT_RIGHT_EXPRESSION_CHANGED
Indication that right portion of expression 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.olap.BaseFilterExpression |
|---|
EVENT_WHAT_TO_COMPARE_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()
|
|
| Method Summary | |
|---|---|
java.util.List<ExpressionInterface> |
getLeftExpression()
Gets the left expression for this conditional expression. |
java.util.List<ExpressionInterface> |
getRightExpression()
Gets the right expression for this conditional expression. |
ExpressionInterface |
getWhatToFilter()
Gets the value of what is being filtered. |
void |
setComparisonOperator(ComparisonOperator operator)
Sets the comparison used in this expression |
void |
setLeftExpression(java.util.List<? extends ExpressionInterface> values)
Sets the left expression portion of the conditional expression. |
void |
setRightExpression(java.util.List<? extends ExpressionInterface> values)
Sets the right expression portion of the conditional expression. |
void |
setWhatToFilter(ExpressionInterface expr)
Sets the value of what will be filtered. |
| Methods inherited from class com.sas.iquery.metadata.expr.olap.BaseFilterExpression |
|---|
getDisplayedText, getLevels, getWhatToCompare |
| 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_LEFT_EXPRESSION_CHANGED
public static final java.lang.String EVENT_RIGHT_EXPRESSION_CHANGED
| Constructor Detail |
|---|
public DataBasedFilterExpression()
| Method Detail |
|---|
public void setWhatToFilter(ExpressionInterface expr)
expr - is the value in question and must be a DataItem@SASScope(value="ALL") @SubjectToChange public ExpressionInterface getWhatToFilter()
@SASScope(value="ALL") @SubjectToChange public void setComparisonOperator(ComparisonOperator operator)
operator - @SASScope(value="ALL") @SubjectToChange public void setLeftExpression(java.util.List<? extends ExpressionInterface> values)
values - left side of conditional expressionpublic java.util.List<ExpressionInterface> getLeftExpression()
public void setRightExpression(java.util.List<? extends ExpressionInterface> values)
values - right side of conditional expressionpublic java.util.List<ExpressionInterface> getRightExpression()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||