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

java.lang.Object
  extended byENamedElementImpl
      extended byorg.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended byorg.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
              extended byorg.eclipse.datatools.modelbase.sql.query.impl.QuerySearchConditionImpl
                  extended byorg.eclipse.datatools.modelbase.sql.query.impl.PredicateImpl
                      extended byorg.eclipse.datatools.modelbase.sql.query.impl.PredicateLikeImpl
All Implemented Interfaces:
Predicate, PredicateLike, QuerySearchCondition, SearchCondition, SQLObject, SQLQueryObject

public class PredicateLikeImpl
extends PredicateImpl
implements PredicateLike

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

The following features are implemented:

See Also:
Serialized Form

Method Summary
 NotificationChain basicSetEscapeValueExpr(QueryValueExpression newEscapeValueExpr, NotificationChain msgs)
           
 NotificationChain basicSetMatchingValueExpr(QueryValueExpression newMatchingValueExpr, NotificationChain msgs)
           
 NotificationChain basicSetPatternValueExpr(QueryValueExpression newPatternValueExpr, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
           
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(EStructuralFeature eFeature)
           
 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
getCombinedLeft, getCombinedRight, getDeleteStatement, getNest, getQuerySelectHaving, getQuerySelectWhere, getSQL, getTableJoined, getUpdateStatement, getValueExprCaseSearchContent, isNegatedCondition, setCombinedLeft, setCombinedRight, setDeleteStatement, setNegatedCondition, setNest, setQuerySelectHaving, setQuerySelectWhere, setSQL, setTableJoined, setUpdateStatement, setValueExprCaseSearchContent
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, setSourceInfo
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getSequence, getSequence, getShort, getShort, getString, getString, getType, isSet, isSet, removeEAnnotationDetail, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDataObject, setDataObject, setDate, setDate, setDescription, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLabel, setList, setList, setLong, setLong, setShort, setShort, setString, setString, unset, unset, writeReplace
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.expressions.SearchCondition
getSQL, setSQL
 

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 NotificationChain basicSetPatternValueExpr(QueryValueExpression newPatternValueExpr,
                                                  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 NotificationChain basicSetMatchingValueExpr(QueryValueExpression newMatchingValueExpr,
                                                   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 NotificationChain basicSetEscapeValueExpr(QueryValueExpression newEscapeValueExpr,
                                                 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 NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class PredicateImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class PredicateImpl

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainer in class PredicateImpl

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)

Overrides:
eGet in class PredicateImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)

Overrides:
eSet in class PredicateImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Overrides:
eUnset in class PredicateImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Overrides:
eIsSet in class PredicateImpl

toString

public java.lang.String toString()

Overrides:
toString in class PredicateImpl


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