org.eclipse.datatools.modelbase.sql.query.impl
Class PredicateBasicImpl

java.lang.Object
  extended by ENamedElementImpl
      extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended by org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
              extended by org.eclipse.datatools.modelbase.sql.query.impl.QuerySearchConditionImpl
                  extended by org.eclipse.datatools.modelbase.sql.query.impl.PredicateImpl
                      extended by org.eclipse.datatools.modelbase.sql.query.impl.PredicateBasicImpl
All Implemented Interfaces:
SearchCondition, Predicate, PredicateBasic, QuerySearchCondition, SQLQueryObject, SQLObject

public class PredicateBasicImpl
extends PredicateImpl
implements PredicateBasic

An implementation of the model object 'SQL Predicate Basic'.

The following features are implemented:


Method Summary
 NotificationChain basicSetLeftValueExpr(QueryValueExpression newLeftValueExpr, NotificationChain msgs)
           
 NotificationChain basicSetRightValueExpr(QueryValueExpression newRightValueExpr, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 PredicateComparisonOperator getComparisonOperator()
           
 QueryValueExpression getLeftValueExpr()
           
 QueryValueExpression getRightValueExpr()
           
 void setComparisonOperator(PredicateComparisonOperator newComparisonOperator)
           
 void setLeftValueExpr(QueryValueExpression newLeftValueExpr)
           
 void setRightValueExpr(QueryValueExpression newRightValueExpr)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.PredicateImpl
getSelectivityValue, isHasSelectivity, isNegatedPredicate, setHasSelectivity, setNegatedPredicate, setSelectivityValue
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.QuerySearchConditionImpl
basicSetCombinedLeft, basicSetCombinedRight, basicSetDeleteStatement, basicSetNest, basicSetQuerySelectHaving, basicSetQuerySelectWhere, basicSetTableJoined, basicSetUpdateStatement, basicSetValueExprCaseSearchContent, eBasicRemoveFromContainerFeature, getCombinedLeft, getCombinedRight, getDeleteStatement, getNest, getQuerySelectHaving, getQuerySelectWhere, getSQL, getTableJoined, getUpdateStatement, getValueExprCaseSearchContent, isNegatedCondition, setCombinedLeft, setCombinedRight, setDeleteStatement, setNegatedCondition, setNest, setQuerySelectHaving, setQuerySelectWhere, setTableJoined, setUpdateStatement, setValueExprCaseSearchContent
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, setSourceInfo, setSQL
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.Predicate
getSelectivityValue, isHasSelectivity, isNegatedPredicate, setHasSelectivity, setNegatedPredicate, setSelectivityValue
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.QuerySearchCondition
getCombinedLeft, getCombinedRight, getDeleteStatement, getNest, getQuerySelectHaving, getQuerySelectWhere, getTableJoined, getUpdateStatement, getValueExprCaseSearchContent, isNegatedCondition, setCombinedLeft, setCombinedRight, setDeleteStatement, setNegatedCondition, setNest, setQuerySelectHaving, setQuerySelectWhere, setTableJoined, setUpdateStatement, setValueExprCaseSearchContent
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.SQLQueryObject
getSourceInfo, getSQL, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.expressions.SearchCondition
getSQL, setSQL
 

Method Detail

getComparisonOperator

public PredicateComparisonOperator getComparisonOperator()

Specified by:
getComparisonOperator in interface PredicateBasic
Returns:
the value of the 'Comparison Operator' attribute.
See Also:
PredicateComparisonOperator, PredicateBasic.setComparisonOperator(PredicateComparisonOperator), SQLQueryModelPackage.getPredicateBasic_ComparisonOperator()

setComparisonOperator

public void setComparisonOperator(PredicateComparisonOperator newComparisonOperator)

Specified by:
setComparisonOperator in interface PredicateBasic
Parameters:
newComparisonOperator - the new value of the 'Comparison Operator' attribute.
See Also:
PredicateComparisonOperator, PredicateBasic.getComparisonOperator()

getRightValueExpr

public QueryValueExpression getRightValueExpr()

Specified by:
getRightValueExpr in interface PredicateBasic
Returns:
the value of the 'Right Value Expr' containment reference.
See Also:
PredicateBasic.setRightValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateBasic_RightValueExpr(), QueryValueExpression.getBasicRight()

basicSetRightValueExpr

public NotificationChain basicSetRightValueExpr(QueryValueExpression newRightValueExpr,
                                                NotificationChain msgs)


setRightValueExpr

public void setRightValueExpr(QueryValueExpression newRightValueExpr)

Specified by:
setRightValueExpr in interface PredicateBasic
Parameters:
newRightValueExpr - the new value of the 'Right Value Expr' containment reference.
See Also:
PredicateBasic.getRightValueExpr()

getLeftValueExpr

public QueryValueExpression getLeftValueExpr()

Specified by:
getLeftValueExpr in interface PredicateBasic
Returns:
the value of the 'Left Value Expr' containment reference.
See Also:
PredicateBasic.setLeftValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateBasic_LeftValueExpr(), QueryValueExpression.getBasicLeft()

basicSetLeftValueExpr

public NotificationChain basicSetLeftValueExpr(QueryValueExpression newLeftValueExpr,
                                               NotificationChain msgs)


setLeftValueExpr

public void setLeftValueExpr(QueryValueExpression newLeftValueExpr)

Specified by:
setLeftValueExpr in interface PredicateBasic
Parameters:
newLeftValueExpr - the new value of the 'Left Value Expr' containment reference.
See Also:
PredicateBasic.getLeftValueExpr()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class QuerySearchConditionImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class QuerySearchConditionImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class PredicateImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class PredicateImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PredicateImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PredicateImpl

toString

public java.lang.String toString()

Overrides:
toString in class PredicateImpl


Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.