TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.models.hierarchy.extensions.impl
Class SimpleSearchQueryImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.models.hierarchy.extensions.impl.QueryImpl
                  extended byorg.eclipse.hyades.models.hierarchy.extensions.impl.SimpleSearchQueryImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, Query, SimpleSearchQuery
Direct Known Subclasses:
CorrelationQueryImpl

public class SimpleSearchQueryImpl
extends QueryImpl
implements SimpleSearchQuery

An implementation of the model object 'Simple Search Query'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static int MAX_ELEMENTS_EDEFAULT
          The default value of the 'Max Elements' attribute.
protected  int maxElements
          The cached value of the 'Max Elements' attribute.
protected  org.eclipse.emf.common.util.EList orderByExpresions
          The cached value of the 'Order By Expresions' containment reference list.
protected static int START_WITH_EDEFAULT
          The default value of the 'Start With' attribute.
protected  int startWith
          The cached value of the 'Start With' attribute.
protected  WhereExpression whereExpression
          The cached value of the 'Where Expression' containment reference.
 
Fields inherited from class org.eclipse.hyades.models.hierarchy.extensions.impl.QueryImpl
count, COUNT_EDEFAULT, distinct, DISTINCT_EDEFAULT, name, NAME_EDEFAULT, outputElements, sources, subQuery
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected SimpleSearchQueryImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetWhereExpression(WhereExpression newWhereExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 int getMaxElements()
           
 org.eclipse.emf.common.util.EList getOrderByExpresions()
           
 int getStartWith()
           
 WhereExpression getWhereExpression()
           
 void setMaxElements(int newMaxElements)
           
 void setStartWith(int newStartWith)
           
 void setWhereExpression(WhereExpression newWhereExpression)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.hyades.models.hierarchy.extensions.impl.QueryImpl
getName, getOutputElements, getQuery, getSources, getSubQuery, isCount, isDistinct, setCount, setDistinct, setName, setQuery
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.models.hierarchy.extensions.Query
getName, getOutputElements, getQuery, getSources, getSubQuery, isCount, isDistinct, setCount, setDistinct, setName, setQuery
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

MAX_ELEMENTS_EDEFAULT

protected static final int MAX_ELEMENTS_EDEFAULT
The default value of the 'Max Elements' attribute.

See Also:
getMaxElements(), Constant Field Values

maxElements

protected int maxElements
The cached value of the 'Max Elements' attribute.

See Also:
getMaxElements()

START_WITH_EDEFAULT

protected static final int START_WITH_EDEFAULT
The default value of the 'Start With' attribute.

See Also:
getStartWith(), Constant Field Values

startWith

protected int startWith
The cached value of the 'Start With' attribute.

See Also:
getStartWith()

orderByExpresions

protected org.eclipse.emf.common.util.EList orderByExpresions
The cached value of the 'Order By Expresions' containment reference list.

See Also:
getOrderByExpresions()

whereExpression

protected WhereExpression whereExpression
The cached value of the 'Where Expression' containment reference.

See Also:
getWhereExpression()
Constructor Detail

SimpleSearchQueryImpl

protected SimpleSearchQueryImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class QueryImpl

getMaxElements

public int getMaxElements()

Specified by:
getMaxElements in interface SimpleSearchQuery
Returns:
the value of the 'Max Elements' attribute.
See Also:
SimpleSearchQuery.setMaxElements(int), ExtensionsPackage.getSimpleSearchQuery_MaxElements()

setMaxElements

public void setMaxElements(int newMaxElements)

Specified by:
setMaxElements in interface SimpleSearchQuery
Parameters:
newMaxElements - the new value of the 'Max Elements' attribute.
See Also:
SimpleSearchQuery.getMaxElements()

getStartWith

public int getStartWith()

Specified by:
getStartWith in interface SimpleSearchQuery
Returns:
the value of the 'Start With' attribute.
See Also:
SimpleSearchQuery.setStartWith(int), ExtensionsPackage.getSimpleSearchQuery_StartWith()

setStartWith

public void setStartWith(int newStartWith)

Specified by:
setStartWith in interface SimpleSearchQuery
Parameters:
newStartWith - the new value of the 'Start With' attribute.
See Also:
SimpleSearchQuery.getStartWith()

getOrderByExpresions

public org.eclipse.emf.common.util.EList getOrderByExpresions()

Specified by:
getOrderByExpresions in interface SimpleSearchQuery
Returns:
the value of the 'Order By Expresions' containment reference list.
See Also:
ExtensionsPackage.getSimpleSearchQuery_OrderByExpresions(), OrderByElement.getSearchQuery()

getWhereExpression

public WhereExpression getWhereExpression()

Specified by:
getWhereExpression in interface SimpleSearchQuery
Returns:
the value of the 'Where Expression' containment reference.
See Also:
SimpleSearchQuery.setWhereExpression(WhereExpression), ExtensionsPackage.getSimpleSearchQuery_WhereExpression(), WhereExpression.getSearchQuery()

basicSetWhereExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetWhereExpression(WhereExpression newWhereExpression,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setWhereExpression

public void setWhereExpression(WhereExpression newWhereExpression)

Specified by:
setWhereExpression in interface SimpleSearchQuery
Parameters:
newWhereExpression - the new value of the 'Where Expression' containment reference.
See Also:
SimpleSearchQuery.getWhereExpression()

eInverseAdd

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

Specified by:
eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseAdd in class QueryImpl

eInverseRemove

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

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class QueryImpl

eBasicRemoveFromContainer

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

Specified by:
eBasicRemoveFromContainer in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBasicRemoveFromContainer in class QueryImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class QueryImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class QueryImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class QueryImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class QueryImpl

toString

public java.lang.String toString()

Overrides:
toString in class QueryImpl

TPTP 4.1.0 Platform Project
Public API Specification