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

com.sas.iquery.metadata.expr.relational
Class SimpleConditionalExpression_Between

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

public class SimpleConditionalExpression_Between

Models the BETWEEN simple conditional expression, which has the following abstract form:
       <WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>


Field Summary
static java.lang.String EVENT_LEFT_EXPRESSION_CHANGED
           
static java.lang.String EVENT_RIGHT_EXPRESSION_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.ModelItem
EVENT_OBJECT_PROPERTY_CHANGED
 
Fields inherited from interface com.sas.iquery.metadata.business.Base
EVENT_OBJECT_DEFINITION_CHANGED
 
Constructor Summary
SimpleConditionalExpression_Between()
           
 
Method Summary
 ExpressionInterface getLeftExpression()
          Returns the expression to the left of the keyword AND.
 ExpressionInterface getRightExpression()
          Returns the expression to the right of the keyword AND.
 ExpressionInterface getWhatToCompare()
          Gets the expression being tested by the range of values.
 void setLeftExpression(ExpressionInterface expr)
          Sets the expression to the left of the keyword AND.
 void setRightExpression(ExpressionInterface expr)
          Sets the expression to the right of the keyword AND.
 void setWhatToCompare(ExpressionInterface expr)
          Sets the expression for what the range 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_LEFT_EXPRESSION_CHANGED

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

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

EVENT_RIGHT_EXPRESSION_CHANGED

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

SimpleConditionalExpression_Between

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

setWhatToCompare

public void setWhatToCompare(ExpressionInterface expr)
Sets the expression for what the range of values will be compared to. (<WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>)

Property change events signalled:

Parameters:
expr - left side of the between expression

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

getWhatToCompare

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

Returns:
the left side of the between expression.

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

setLeftExpression

public void setLeftExpression(ExpressionInterface expr)
Sets the expression to the left of the keyword AND. (<WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>)

Property change events signalled:

Parameters:
expr - left side expression

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

getLeftExpression

public ExpressionInterface getLeftExpression()
Returns the expression to the left of the keyword AND. (<WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>)

Returns:
the expression to the left of the keyword AND

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

setRightExpression

public void setRightExpression(ExpressionInterface expr)
Sets the expression to the right of the keyword AND. (<WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>)

Property change events signalled:

Parameters:
expr - right side expression

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

getRightExpression

public ExpressionInterface getRightExpression()
Returns the expression to the right of the keyword AND. (<WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>)

Returns:
the expression to the right of the keyword AND

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.