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

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.


Field Summary
static java.lang.String EVENT_COMPARISON_LIST_CHANGED
           
static java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
           
 
Fields inherited from class com.sas.iquery.metadata.expr.relational.RelationalConditionalExpression
EVENT_FF_OVERRIDE_STATUS_CHANGED, EVENT_FF_OVERRIDE_VALUE_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
SimpleConditionalExpression_In()
           
 
Method Summary
 java.util.List getComparisonList()
           
 ExpressionInterface getWhatToCompare()
          Gets the expression being tested by the list of values.
 void setComparisonList(java.util.List values)
          Sets the list of values to be append after the IN keyword.
 void setWhatToCompare(ExpressionInterface expr)
          Sets the expression for what the list of values will be compared to.
 
Methods inherited from class com.sas.iquery.metadata.expr.relational.RelationalConditionalExpression
getExpression
 
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_COMPARE_CHANGED

public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
See Also:
Constant Field Values

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

EVENT_COMPARISON_LIST_CHANGED

public static final java.lang.String EVENT_COMPARISON_LIST_CHANGED
See Also:
Constant Field Values
Constructor Detail

SimpleConditionalExpression_In

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

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:

The expression being set should not be a compound conditional expression.

Parameters:
expr - left side of the in expression

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

getWhatToCompare

public ExpressionInterface getWhatToCompare()
Gets the expression being tested by the list of values.

Returns:
the left side of the in expression.

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

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:

Parameters:
values - a list of ExpressionInterfaces.

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

getComparisonList

public java.util.List getComparisonList()

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.