org.eclipse.datatools.modelbase.sql.query
Interface OrderBySpecification

All Superinterfaces:
SQLObject, SQLQueryObject
All Known Subinterfaces:
OrderByOrdinal, OrderByResultColumn, OrderByValueExpression
All Known Implementing Classes:
OrderByOrdinalImpl, OrderByResultColumnImpl, OrderBySpecificationImpl, OrderByValueExpressionImpl

public interface OrderBySpecification
extends SQLQueryObject

A representation of the model object 'SQL Order By Specification'.

The following features are supported:

See Also:
SQLQueryModelPackage.getOrderBySpecification()

Method Summary
 NullOrderingType getNullOrderingOption()
          Returns the value of the 'Null Ordering Option' attribute.
 OrderingSpecType getOrderingSpecOption()
          Returns the value of the 'Ordering Spec Option' attribute.
 QuerySelectStatement getSelectStatement()
          Returns the value of the 'Select Statement' container reference.
 boolean isDescending()
          Returns the value of the 'Descending' attribute.
 void setDescending(boolean value)
          Sets the value of the 'Descending' attribute.
 void setNullOrderingOption(NullOrderingType value)
          Sets the value of the 'Null Ordering Option' attribute.
 void setOrderingSpecOption(OrderingSpecType value)
          Sets the value of the 'Ordering Spec Option' attribute.
 void setSelectStatement(QuerySelectStatement value)
          Sets the value of the 'Select Statement' container reference.
 
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()
Returns the value of the 'Descending' attribute.

If the meaning of the 'Descending' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descending' attribute.
See Also:
setDescending(boolean), SQLQueryModelPackage.getOrderBySpecification_Descending()

setDescending

public void setDescending(boolean value)
Sets the value of the 'Descending' attribute.

Parameters:
value - the new value of the 'Descending' attribute.
See Also:
isDescending()

getOrderingSpecOption

public OrderingSpecType getOrderingSpecOption()
Returns the value of the 'Ordering Spec Option' attribute. The literals are from the enumeration OrderingSpecType.

If the meaning of the 'Ordering Spec Option' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ordering Spec Option' attribute.
See Also:
OrderingSpecType, setOrderingSpecOption(OrderingSpecType), SQLQueryModelPackage.getOrderBySpecification_OrderingSpecOption()

setOrderingSpecOption

public void setOrderingSpecOption(OrderingSpecType value)
Sets the value of the 'Ordering Spec Option' attribute.

Parameters:
value - the new value of the 'Ordering Spec Option' attribute.
See Also:
OrderingSpecType, getOrderingSpecOption()

getNullOrderingOption

public NullOrderingType getNullOrderingOption()
Returns the value of the 'Null Ordering Option' attribute. The literals are from the enumeration NullOrderingType.

If the meaning of the 'Null Ordering Option' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Null Ordering Option' attribute.
See Also:
NullOrderingType, setNullOrderingOption(NullOrderingType), SQLQueryModelPackage.getOrderBySpecification_NullOrderingOption()

setNullOrderingOption

public void setNullOrderingOption(NullOrderingType value)
Sets the value of the 'Null Ordering Option' attribute.

Parameters:
value - the new value of the 'Null Ordering Option' attribute.
See Also:
NullOrderingType, getNullOrderingOption()

getSelectStatement

public QuerySelectStatement getSelectStatement()
Returns the value of the 'Select Statement' container reference. It is bidirectional and its opposite is 'Order By Clause'.

If the meaning of the 'Select Statement' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Select Statement' container reference.
See Also:
setSelectStatement(QuerySelectStatement), SQLQueryModelPackage.getOrderBySpecification_SelectStatement(), QuerySelectStatement.getOrderByClause()

setSelectStatement

public void setSelectStatement(QuerySelectStatement value)
Sets the value of the 'Select Statement' container reference.

Parameters:
value - the new value of the 'Select Statement' container reference.
See Also:
getSelectStatement()


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