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

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
                      extended by org.eclipse.datatools.modelbase.sql.schema.impl.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
All Implemented Interfaces:
SearchCondition, QuerySearchCondition, SQLQueryObject, SQLObject, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
PredicateImpl, SearchConditionCombinedImpl, SearchConditionNestedImpl

public abstract class QuerySearchConditionImpl
extends SQLQueryObjectImpl
implements QuerySearchCondition

An implementation of the model object 'SQL Search Condition'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetCombinedLeft(SearchConditionCombined newCombinedLeft, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCombinedRight(SearchConditionCombined newCombinedRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDeleteStatement(QueryDeleteStatement newDeleteStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMergeOnCondition(MergeOnCondition newMergeOnCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetNest(SearchConditionNested newNest, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQuerySelectHaving(QuerySelect newQuerySelectHaving, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQuerySelectWhere(QuerySelect newQuerySelectWhere, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTableJoined(TableJoined newTableJoined, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetUpdateStatement(QueryUpdateStatement newUpdateStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetValueExprCaseSearchContent(ValueExpressionCaseSearchContent newValueExprCaseSearchContent, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 SearchConditionCombined getCombinedLeft()
           
 SearchConditionCombined getCombinedRight()
           
 QueryDeleteStatement getDeleteStatement()
           
 MergeOnCondition getMergeOnCondition()
           
 SearchConditionNested getNest()
           
 QuerySelect getQuerySelectHaving()
           
 QuerySelect getQuerySelectWhere()
           
 java.lang.String getSQL()
           
 TableJoined getTableJoined()
           
 QueryUpdateStatement getUpdateStatement()
           
 ValueExpressionCaseSearchContent getValueExprCaseSearchContent()
           
 boolean isNegatedCondition()
           
 void setCombinedLeft(SearchConditionCombined newCombinedLeft)
           
 void setCombinedRight(SearchConditionCombined newCombinedRight)
           
 void setDeleteStatement(QueryDeleteStatement newDeleteStatement)
           
 void setMergeOnCondition(MergeOnCondition newMergeOnCondition)
           
 void setNegatedCondition(boolean newNegatedCondition)
           
 void setNest(SearchConditionNested newNest)
           
 void setQuerySelectHaving(QuerySelect newQuerySelectHaving)
           
 void setQuerySelectWhere(QuerySelect newQuerySelectWhere)
           
 void setTableJoined(TableJoined newTableJoined)
           
 void setUpdateStatement(QueryUpdateStatement newUpdateStatement)
           
 void setValueExprCaseSearchContent(ValueExpressionCaseSearchContent newValueExprCaseSearchContent)
           
 java.lang.String toString()
           
 
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, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
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.SQLQueryObject
getSourceInfo, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.expressions.SearchCondition
setSQL
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

isNegatedCondition

public boolean isNegatedCondition()

Specified by:
isNegatedCondition in interface QuerySearchCondition
Returns:
the value of the 'Negated Condition' attribute.
See Also:
QuerySearchCondition.setNegatedCondition(boolean), SQLQueryModelPackage.getQuerySearchCondition_NegatedCondition()

setNegatedCondition

public void setNegatedCondition(boolean newNegatedCondition)

Specified by:
setNegatedCondition in interface QuerySearchCondition
Parameters:
newNegatedCondition - the new value of the 'Negated Condition' attribute.
See Also:
QuerySearchCondition.isNegatedCondition()

getUpdateStatement

public QueryUpdateStatement getUpdateStatement()

Specified by:
getUpdateStatement in interface QuerySearchCondition
Returns:
the value of the 'Update Statement' container reference.
See Also:
QuerySearchCondition.setUpdateStatement(QueryUpdateStatement), SQLQueryModelPackage.getQuerySearchCondition_UpdateStatement(), QueryUpdateStatement.getWhereClause()

basicSetUpdateStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetUpdateStatement(QueryUpdateStatement newUpdateStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setUpdateStatement

public void setUpdateStatement(QueryUpdateStatement newUpdateStatement)

Specified by:
setUpdateStatement in interface QuerySearchCondition
Parameters:
newUpdateStatement - the new value of the 'Update Statement' container reference.
See Also:
QuerySearchCondition.getUpdateStatement()

getDeleteStatement

public QueryDeleteStatement getDeleteStatement()

Specified by:
getDeleteStatement in interface QuerySearchCondition
Returns:
the value of the 'Delete Statement' container reference.
See Also:
QuerySearchCondition.setDeleteStatement(QueryDeleteStatement), SQLQueryModelPackage.getQuerySearchCondition_DeleteStatement(), QueryDeleteStatement.getWhereClause()

basicSetDeleteStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetDeleteStatement(QueryDeleteStatement newDeleteStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setDeleteStatement

public void setDeleteStatement(QueryDeleteStatement newDeleteStatement)

Specified by:
setDeleteStatement in interface QuerySearchCondition
Parameters:
newDeleteStatement - the new value of the 'Delete Statement' container reference.
See Also:
QuerySearchCondition.getDeleteStatement()

getTableJoined

public TableJoined getTableJoined()

Specified by:
getTableJoined in interface QuerySearchCondition
Returns:
the value of the 'Table Joined' container reference.
See Also:
QuerySearchCondition.setTableJoined(TableJoined), SQLQueryModelPackage.getQuerySearchCondition_TableJoined(), TableJoined.getJoinCondition()

basicSetTableJoined

public org.eclipse.emf.common.notify.NotificationChain basicSetTableJoined(TableJoined newTableJoined,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setTableJoined

public void setTableJoined(TableJoined newTableJoined)

Specified by:
setTableJoined in interface QuerySearchCondition
Parameters:
newTableJoined - the new value of the 'Table Joined' container reference.
See Also:
QuerySearchCondition.getTableJoined()

getCombinedLeft

public SearchConditionCombined getCombinedLeft()

Specified by:
getCombinedLeft in interface QuerySearchCondition
Returns:
the value of the 'Combined Left' container reference.
See Also:
QuerySearchCondition.setCombinedLeft(SearchConditionCombined), SQLQueryModelPackage.getQuerySearchCondition_CombinedLeft(), SearchConditionCombined.getLeftCondition()

basicSetCombinedLeft

public org.eclipse.emf.common.notify.NotificationChain basicSetCombinedLeft(SearchConditionCombined newCombinedLeft,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setCombinedLeft

public void setCombinedLeft(SearchConditionCombined newCombinedLeft)

Specified by:
setCombinedLeft in interface QuerySearchCondition
Parameters:
newCombinedLeft - the new value of the 'Combined Left' container reference.
See Also:
QuerySearchCondition.getCombinedLeft()

getCombinedRight

public SearchConditionCombined getCombinedRight()

Specified by:
getCombinedRight in interface QuerySearchCondition
Returns:
the value of the 'Combined Right' container reference.
See Also:
QuerySearchCondition.setCombinedRight(SearchConditionCombined), SQLQueryModelPackage.getQuerySearchCondition_CombinedRight(), SearchConditionCombined.getRightCondition()

basicSetCombinedRight

public org.eclipse.emf.common.notify.NotificationChain basicSetCombinedRight(SearchConditionCombined newCombinedRight,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)


setCombinedRight

public void setCombinedRight(SearchConditionCombined newCombinedRight)

Specified by:
setCombinedRight in interface QuerySearchCondition
Parameters:
newCombinedRight - the new value of the 'Combined Right' container reference.
See Also:
QuerySearchCondition.getCombinedRight()

getQuerySelectHaving

public QuerySelect getQuerySelectHaving()

Specified by:
getQuerySelectHaving in interface QuerySearchCondition
Returns:
the value of the 'Query Select Having' container reference.
See Also:
QuerySearchCondition.setQuerySelectHaving(QuerySelect), SQLQueryModelPackage.getQuerySearchCondition_QuerySelectHaving(), QuerySelect.getHavingClause()

basicSetQuerySelectHaving

public org.eclipse.emf.common.notify.NotificationChain basicSetQuerySelectHaving(QuerySelect newQuerySelectHaving,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setQuerySelectHaving

public void setQuerySelectHaving(QuerySelect newQuerySelectHaving)

Specified by:
setQuerySelectHaving in interface QuerySearchCondition
Parameters:
newQuerySelectHaving - the new value of the 'Query Select Having' container reference.
See Also:
QuerySearchCondition.getQuerySelectHaving()

getQuerySelectWhere

public QuerySelect getQuerySelectWhere()

Specified by:
getQuerySelectWhere in interface QuerySearchCondition
Returns:
the value of the 'Query Select Where' container reference.
See Also:
QuerySearchCondition.setQuerySelectWhere(QuerySelect), SQLQueryModelPackage.getQuerySearchCondition_QuerySelectWhere(), QuerySelect.getWhereClause()

basicSetQuerySelectWhere

public org.eclipse.emf.common.notify.NotificationChain basicSetQuerySelectWhere(QuerySelect newQuerySelectWhere,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setQuerySelectWhere

public void setQuerySelectWhere(QuerySelect newQuerySelectWhere)

Specified by:
setQuerySelectWhere in interface QuerySearchCondition
Parameters:
newQuerySelectWhere - the new value of the 'Query Select Where' container reference.
See Also:
QuerySearchCondition.getQuerySelectWhere()

getValueExprCaseSearchContent

public ValueExpressionCaseSearchContent getValueExprCaseSearchContent()

Specified by:
getValueExprCaseSearchContent in interface QuerySearchCondition
Returns:
the value of the 'Value Expr Case Search Content' container reference.
See Also:
QuerySearchCondition.setValueExprCaseSearchContent(ValueExpressionCaseSearchContent), SQLQueryModelPackage.getQuerySearchCondition_ValueExprCaseSearchContent(), ValueExpressionCaseSearchContent.getSearchCondition()

basicSetValueExprCaseSearchContent

public org.eclipse.emf.common.notify.NotificationChain basicSetValueExprCaseSearchContent(ValueExpressionCaseSearchContent newValueExprCaseSearchContent,
                                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setValueExprCaseSearchContent

public void setValueExprCaseSearchContent(ValueExpressionCaseSearchContent newValueExprCaseSearchContent)

Specified by:
setValueExprCaseSearchContent in interface QuerySearchCondition
Parameters:
newValueExprCaseSearchContent - the new value of the 'Value Expr Case Search Content' container reference.
See Also:
QuerySearchCondition.getValueExprCaseSearchContent()

getNest

public SearchConditionNested getNest()

Specified by:
getNest in interface QuerySearchCondition
Returns:
the value of the 'Nest' container reference.
See Also:
QuerySearchCondition.setNest(SearchConditionNested), SQLQueryModelPackage.getQuerySearchCondition_Nest(), SearchConditionNested.getNestedCondition()

basicSetNest

public org.eclipse.emf.common.notify.NotificationChain basicSetNest(SearchConditionNested newNest,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setNest

public void setNest(SearchConditionNested newNest)

Specified by:
setNest in interface QuerySearchCondition
Parameters:
newNest - the new value of the 'Nest' container reference.
See Also:
QuerySearchCondition.getNest()

getMergeOnCondition

public MergeOnCondition getMergeOnCondition()

Specified by:
getMergeOnCondition in interface QuerySearchCondition
Returns:
the value of the 'Merge On Condition' container reference.
See Also:
QuerySearchCondition.setMergeOnCondition(MergeOnCondition), SQLQueryModelPackage.getQuerySearchCondition_MergeOnCondition(), MergeOnCondition.getSearchCondition()

basicSetMergeOnCondition

public org.eclipse.emf.common.notify.NotificationChain basicSetMergeOnCondition(MergeOnCondition newMergeOnCondition,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setMergeOnCondition

public void setMergeOnCondition(MergeOnCondition newMergeOnCondition)

Specified by:
setMergeOnCondition in interface QuerySearchCondition
Parameters:
newMergeOnCondition - the new value of the 'Merge On Condition' container reference.
See Also:
QuerySearchCondition.getMergeOnCondition()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SQLObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SQLObjectImpl

getSQL

public java.lang.String getSQL()

Specified by:
getSQL in interface SearchCondition
Specified by:
getSQL in interface SQLQueryObject
Overrides:
getSQL in class SQLQueryObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl