com.sas.iquery.metadata.expr.relational
Class SimpleConditionalExpression_In
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_In
All Implemented Interfaces: Base , BusinessModelResourceReferencer , CascadableFilter , ModelItem , UsabilityInterface , ExpressionInterface , PropertyChangeListenee , java.beans.PropertyChangeListener , java.lang.Cloneable , java.util.EventListener
public class SimpleConditionalExpression_In implements BusinessModelResourceReferencer
Models the IN simple conditional expression, which has the following abstract form:
<WhatToCompare> [NOT] IN (<ComparisonList>)
.
The IN conditional expression is really a set-membership testing expression.
That is, it is used to test whether or not a value is "in" a list of provided values.
EVENT_WHAT_TO_COMPARE_CHANGED
public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
See Also: Constant Field Values
EVENT_COMPARISON_LIST_CHANGED
public static final java.lang.String EVENT_COMPARISON_LIST_CHANGED
See Also: Constant Field Values
SimpleConditionalExpression_In
public SimpleConditionalExpression_In ()
setWhatToCompare
public void setWhatToCompare (ExpressionInterface expr)
Sets the expression for what the list of values will be compared to.
(<WhatToCompare> [NOT] IN (<ComparisonList>)
).
Property change events signalled:
EVENT_WHAT_TO_COMPARE_CHANGED
The expression being set should not be a compound conditional expression.
Parameters: expr
- left side of the in expression
getWhatToCompare
public ExpressionInterface getWhatToCompare ()
Gets the expression being tested by the list of values.
Returns: the left side of the in expression.
setComparisonList
public void setComparisonList (java.util.List values)
Sets the list of values to be append after the IN keyword.
Each value in the list must be of type ExpressionInterface
and cannot be a CompoundConditionalExpression.
Property change events signalled:
EVENT_COMPARISON_LIST_CHANGED
Parameters: values
- a list of ExpressionInterfaces.
getComparisonList
public java.util.List getComparisonList ()
Copyright © 2009 SAS Institute Inc. All Rights Reserved.