org.eclipse.datatools.modelbase.sql.query.impl
Class OrderBySpecificationImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
org.eclipse.datatools.modelbase.sql.query.impl.OrderBySpecificationImpl
- All Implemented Interfaces:
- OrderBySpecification, 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:
- OrderByOrdinalImpl, OrderByResultColumnImpl, OrderByValueExpressionImpl
public abstract class OrderBySpecificationImpl
- extends SQLQueryObjectImpl
- implements OrderBySpecification
An implementation of the model object 'SQL Order By Specification'.
The following features are implemented:
| 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 |
| 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 |
| 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.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.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.emf.ecore.InternalEObject |
eNotificationRequired |
isDescending
public boolean isDescending()
-
- Specified by:
isDescending in interface OrderBySpecification
- Returns:
- the value of the 'Descending' attribute.
- See Also:
OrderBySpecification.setDescending(boolean),
SQLQueryModelPackage.getOrderBySpecification_Descending()
setDescending
public void setDescending(boolean newDescending)
-
- Specified by:
setDescending in interface OrderBySpecification
- Parameters:
newDescending - the new value of the 'Descending' attribute.- See Also:
OrderBySpecification.isDescending()
getOrderingSpecOption
public OrderingSpecType getOrderingSpecOption()
-
- Specified by:
getOrderingSpecOption in interface OrderBySpecification
- Returns:
- the value of the 'Ordering Spec Option' attribute.
- See Also:
OrderingSpecType,
OrderBySpecification.setOrderingSpecOption(OrderingSpecType),
SQLQueryModelPackage.getOrderBySpecification_OrderingSpecOption()
setOrderingSpecOption
public void setOrderingSpecOption(OrderingSpecType newOrderingSpecOption)
-
- Specified by:
setOrderingSpecOption in interface OrderBySpecification
- Parameters:
newOrderingSpecOption - the new value of the 'Ordering Spec Option' attribute.- See Also:
OrderingSpecType,
OrderBySpecification.getOrderingSpecOption()
getNullOrderingOption
public NullOrderingType getNullOrderingOption()
-
- Specified by:
getNullOrderingOption in interface OrderBySpecification
- Returns:
- the value of the 'Null Ordering Option' attribute.
- See Also:
NullOrderingType,
OrderBySpecification.setNullOrderingOption(NullOrderingType),
SQLQueryModelPackage.getOrderBySpecification_NullOrderingOption()
setNullOrderingOption
public void setNullOrderingOption(NullOrderingType newNullOrderingOption)
-
- Specified by:
setNullOrderingOption in interface OrderBySpecification
- Parameters:
newNullOrderingOption - the new value of the 'Null Ordering Option' attribute.- See Also:
NullOrderingType,
OrderBySpecification.getNullOrderingOption()
getSelectStatement
public QuerySelectStatement getSelectStatement()
-
- Specified by:
getSelectStatement in interface OrderBySpecification
- Returns:
- the value of the 'Select Statement' container reference.
- See Also:
OrderBySpecification.setSelectStatement(QuerySelectStatement),
SQLQueryModelPackage.getOrderBySpecification_SelectStatement(),
QuerySelectStatement.getOrderByClause()
basicSetSelectStatement
public org.eclipse.emf.common.notify.NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
setSelectStatement
public void setSelectStatement(QuerySelectStatement newSelectStatement)
-
- Specified by:
setSelectStatement in interface OrderBySpecification
- Parameters:
newSelectStatement - the new value of the 'Select Statement' container reference.- See Also:
OrderBySpecification.getSelectStatement()
getQuery
public QueryExpressionBody getQuery()
-
- Specified by:
getQuery in interface OrderBySpecification
- Returns:
- the value of the 'Query' container reference.
- See Also:
OrderBySpecification.setQuery(QueryExpressionBody),
SQLQueryModelPackage.getOrderBySpecification_Query(),
QueryExpressionBody.getSortSpecList()
basicSetQuery
public org.eclipse.emf.common.notify.NotificationChain basicSetQuery(QueryExpressionBody newQuery,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
setQuery
public void setQuery(QueryExpressionBody newQuery)
-
- Specified by:
setQuery in interface OrderBySpecification
- Parameters:
newQuery - the new value of the 'Query' container reference.- See Also:
OrderBySpecification.getQuery()
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
toString
public java.lang.String toString()
-
- Overrides:
toString in class SQLObjectImpl