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

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.PredicateIsNullImpl
All Implemented Interfaces:
SearchCondition, Predicate, PredicateIsNull, QuerySearchCondition, SQLQueryObject, SQLObject

public class PredicateIsNullImpl
extends PredicateImpl
implements PredicateIsNull

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

The following features are implemented:


Method Summary
 NotificationChain basicSetValueExpr(QueryValueExpression newValueExpr, 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)
           
 QueryValueExpression getValueExpr()
           
 boolean isNotNull()
           
 void setNotNull(boolean newNotNull)
           
 void setValueExpr(QueryValueExpression newValueExpr)
           
 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

isNotNull

public boolean isNotNull()

Specified by:
isNotNull in interface PredicateIsNull
Returns:
the value of the 'Not Null' attribute.
See Also:
PredicateIsNull.setNotNull(boolean), SQLQueryModelPackage.getPredicateIsNull_NotNull()

setNotNull

public void setNotNull(boolean newNotNull)

Specified by:
setNotNull in interface PredicateIsNull
Parameters:
newNotNull - the new value of the 'Not Null' attribute.
See Also:
PredicateIsNull.isNotNull()

getValueExpr

public QueryValueExpression getValueExpr()

Specified by:
getValueExpr in interface PredicateIsNull
Returns:
the value of the 'Value Expr' containment reference.
See Also:
PredicateIsNull.setValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateIsNull_ValueExpr(), QueryValueExpression.getPredicateNull()

basicSetValueExpr

public NotificationChain basicSetValueExpr(QueryValueExpression newValueExpr,
                                           NotificationChain msgs)


setValueExpr

public void setValueExpr(QueryValueExpression newValueExpr)

Specified by:
setValueExpr in interface PredicateIsNull
Parameters:
newValueExpr - the new value of the 'Value Expr' containment reference.
See Also:
PredicateIsNull.getValueExpr()

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.