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

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.OrderBySpecificationImpl
All Implemented Interfaces:
OrderBySpecification, SQLObject, SQLQueryObject
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:

See Also:
Serialized Form

Method Summary
 NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 NullOrderingType getNullOrderingOption()
           
 OrderingSpecType getOrderingSpecOption()
           
 QuerySelectStatement getSelectStatement()
           
 boolean isDescending()
           
 void setDescending(boolean newDescending)
           
 void setNullOrderingOption(NullOrderingType newNullOrderingOption)
           
 void setOrderingSpecOption(OrderingSpecType newOrderingSpecOption)
           
 void setSelectStatement(QuerySelectStatement newSelectStatement)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, getSQL, setSourceInfo, setSQL
 
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, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getPrivileges, 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.SQLQueryObject
getSourceInfo, getSQL, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

Method Detail

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 NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement,
                                                 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()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

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

Overrides:
eGet in class SQLObjectImpl

eSet

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

Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class SQLObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl


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