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>
EVENT_WHAT_TO_COMPARE_CHANGED
public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
See Also: Constant Field Values
EVENT_LEFT_EXPRESSION_CHANGED
public static final java.lang.String EVENT_LEFT_EXPRESSION_CHANGED
See Also: Constant Field Values
EVENT_RIGHT_EXPRESSION_CHANGED
public static final java.lang.String EVENT_RIGHT_EXPRESSION_CHANGED
See Also: Constant Field Values
SimpleConditionalExpression_Between
public SimpleConditionalExpression_Between ()
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:
EVENT_WHAT_TO_COMPARE_CHANGED
Parameters: expr
- left side of the between expression
getWhatToCompare
public ExpressionInterface getWhatToCompare ()
Gets the expression being tested by the range of values.
Returns: the left side of the between expression.
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:
EVENT_LEFT_EXPRESSION_CHANGED
Parameters: expr
- left side expression
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
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:
EVENT_RIGHT_EXPRESSION_CHANGED
Parameters: expr
- right side expression
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
Copyright © 2009 SAS Institute Inc. All Rights Reserved.