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

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
                                      extended by org.eclipse.datatools.modelbase.sql.query.impl.PredicateImpl
                                          extended by org.eclipse.datatools.modelbase.sql.query.impl.PredicateLikeImpl
All Implemented Interfaces:
SearchCondition, Predicate, PredicateLike, 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

public class PredicateLikeImpl
extends PredicateImpl
implements PredicateLike

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

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 basicSetEscapeValueExpr(QueryValueExpression newEscapeValueExpr, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMatchingValueExpr(QueryValueExpression newMatchingValueExpr, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetPatternValueExpr(QueryValueExpression newPatternValueExpr, 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)
           
 QueryValueExpression getEscapeValueExpr()
           
 QueryValueExpression getMatchingValueExpr()
           
 QueryValueExpression getPatternValueExpr()
           
 boolean isNotLike()
           
 void setEscapeValueExpr(QueryValueExpression newEscapeValueExpr)
           
 void setMatchingValueExpr(QueryValueExpression newMatchingValueExpr)
           
 void setNotLike(boolean newNotLike)
           
 void setPatternValueExpr(QueryValueExpression newPatternValueExpr)
           
 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, basicSetMergeOnCondition, basicSetNest, basicSetQuerySelectHaving, basicSetQuerySelectWhere, basicSetTableJoined, basicSetUpdateStatement, basicSetValueExprCaseSearchContent, eBasicRemoveFromContainerFeature, getCombinedLeft, getCombinedRight, getDeleteStatement, getMergeOnCondition, getNest, getQuerySelectHaving, getQuerySelectWhere, getSQL, getTableJoined, getUpdateStatement, getValueExprCaseSearchContent, isNegatedCondition, setCombinedLeft, setCombinedRight, setDeleteStatement, setMergeOnCondition, 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, 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.Predicate
getSelectivityValue, isHasSelectivity, isNegatedPredicate, setHasSelectivity, setNegatedPredicate, setSelectivityValue
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.QuerySearchCondition
getCombinedLeft, getCombinedRight, getDeleteStatement, getMergeOnCondition, getNest, getQuerySelectHaving, getQuerySelectWhere, getTableJoined, getUpdateStatement, getValueExprCaseSearchContent, isNegatedCondition, setCombinedLeft, setCombinedRight, setDeleteStatement, setMergeOnCondition, 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, 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
getSQL, setSQL
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

isNotLike

public boolean isNotLike()

Specified by:
isNotLike in interface PredicateLike
Returns:
the value of the 'Not Like' attribute.
See Also:
PredicateLike.setNotLike(boolean), SQLQueryModelPackage.getPredicateLike_NotLike()

setNotLike

public void setNotLike(boolean newNotLike)

Specified by:
setNotLike in interface PredicateLike
Parameters:
newNotLike - the new value of the 'Not Like' attribute.
See Also:
PredicateLike.isNotLike()

getPatternValueExpr

public QueryValueExpression getPatternValueExpr()

Specified by:
getPatternValueExpr in interface PredicateLike
Returns:
the value of the 'Pattern Value Expr' containment reference.
See Also:
PredicateLike.setPatternValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateLike_PatternValueExpr(), QueryValueExpression.getLikePattern()

basicSetPatternValueExpr

public org.eclipse.emf.common.notify.NotificationChain basicSetPatternValueExpr(QueryValueExpression newPatternValueExpr,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setPatternValueExpr

public void setPatternValueExpr(QueryValueExpression newPatternValueExpr)

Specified by:
setPatternValueExpr in interface PredicateLike
Parameters:
newPatternValueExpr - the new value of the 'Pattern Value Expr' containment reference.
See Also:
PredicateLike.getPatternValueExpr()

getMatchingValueExpr

public QueryValueExpression getMatchingValueExpr()

Specified by:
getMatchingValueExpr in interface PredicateLike
Returns:
the value of the 'Matching Value Expr' containment reference.
See Also:
PredicateLike.setMatchingValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateLike_MatchingValueExpr(), QueryValueExpression.getLikeMatching()

basicSetMatchingValueExpr

public org.eclipse.emf.common.notify.NotificationChain basicSetMatchingValueExpr(QueryValueExpression newMatchingValueExpr,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setMatchingValueExpr

public void setMatchingValueExpr(QueryValueExpression newMatchingValueExpr)

Specified by:
setMatchingValueExpr in interface PredicateLike
Parameters:
newMatchingValueExpr - the new value of the 'Matching Value Expr' containment reference.
See Also:
PredicateLike.getMatchingValueExpr()

getEscapeValueExpr

public QueryValueExpression getEscapeValueExpr()

Specified by:
getEscapeValueExpr in interface PredicateLike
Returns:
the value of the 'Escape Value Expr' containment reference.
See Also:
PredicateLike.setEscapeValueExpr(QueryValueExpression), SQLQueryModelPackage.getPredicateLike_EscapeValueExpr(), QueryValueExpression.getLikeEscape()

basicSetEscapeValueExpr

public org.eclipse.emf.common.notify.NotificationChain basicSetEscapeValueExpr(QueryValueExpression newEscapeValueExpr,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setEscapeValueExpr

public void setEscapeValueExpr(QueryValueExpression newEscapeValueExpr)

Specified by:
setEscapeValueExpr in interface PredicateLike
Parameters:
newEscapeValueExpr - the new value of the 'Escape Value Expr' containment reference.
See Also:
PredicateLike.getEscapeValueExpr()

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 QuerySearchConditionImpl

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 QuerySearchConditionImpl

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 PredicateImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class PredicateImpl