com.sas.iquery.metadata.expr.relational
Class SimpleConditionalExpression_Comparison
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Comparison
- All Implemented Interfaces:
- Base, BusinessModelResourceReferencer, CascadableFilter, ModelItem, UsabilityInterface, ExpressionInterface, PropertyChangeListenee, java.beans.PropertyChangeListener, java.lang.Cloneable, java.util.EventListener
public class SimpleConditionalExpression_Comparison
- implements BusinessModelResourceReferencer
Models the comparison simple conditional expression, which has the following abstract form:
<LeftExpression> <ComparisonOperator> <RightExpression>
EVENT_COMPARISON_OPERATOR_CHANGED
public static final java.lang.String EVENT_COMPARISON_OPERATOR_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_Comparison
public SimpleConditionalExpression_Comparison()
getComparisonOperator
public ComparisonOperator getComparisonOperator()
- Returns the comparison used in this expression
- Returns:
- the comparison operator
setComparisonOperator
public void setComparisonOperator(ComparisonOperator operator)
- Sets the comparison used in this expression.
Property change events signalled:
- EVENT_COMPARISON_OPERATOR_CHANGED
- Parameters:
operator
- the comparison operator to be used.
setLeftExpression
public void setLeftExpression(ExpressionInterface expr)
- Sets the left expression portion of the conditional expression.
Property change events signalled:
- EVENT_LEFT_EXPRESSION_CHANGED
- Parameters:
expr
- left side of conditional expression
getLeftExpression
public ExpressionInterface getLeftExpression()
- Gets the left expression for this conditional expression.
- Returns:
- the left side expression.
setRightExpression
public void setRightExpression(ExpressionInterface expr)
- Sets the right expression portion of the conditional expression.
Property change events signalled:
- EVENT_RIGHT_EXPRESSION_CHANGED
- Parameters:
expr
- right side of conditional expression
getRightExpression
public ExpressionInterface getRightExpression()
- Gets the right expression for this conditional expression.
- Returns:
- the right side expression.
Copyright © 2009 SAS Institute Inc. All Rights Reserved.