org.sql.generation.implementation.grammar.query
Class SortSpecificationImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<SortSpecification,SortSpecification>
      extended by org.sql.generation.implementation.grammar.query.SortSpecificationImpl
All Implemented Interfaces:
org.atp.api.Typeable<SortSpecification>, SortSpecification

public class SortSpecificationImpl
extends org.atp.spi.TypeableImpl<SortSpecification,SortSpecification>
implements SortSpecification

Author:
Stanislav Muhametsin

Constructor Summary
protected SortSpecificationImpl(Class<? extends SortSpecification> implClass, ValueExpression expression, Ordering ordering)
           
  SortSpecificationImpl(ValueExpression expression, Ordering ordering)
           
 
Method Summary
protected  boolean doesEqual(SortSpecification another)
           
 Ordering getOrderingSpecification()
           
 ValueExpression getValueExpression()
           
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

SortSpecificationImpl

public SortSpecificationImpl(ValueExpression expression,
                             Ordering ordering)

SortSpecificationImpl

protected SortSpecificationImpl(Class<? extends SortSpecification> implClass,
                                ValueExpression expression,
                                Ordering ordering)
Method Detail

getOrderingSpecification

public Ordering getOrderingSpecification()
Specified by:
getOrderingSpecification in interface SortSpecification

getValueExpression

public ValueExpression getValueExpression()
Specified by:
getValueExpression in interface SortSpecification

doesEqual

protected boolean doesEqual(SortSpecification another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<SortSpecification,SortSpecification>


Copyright © 2010. All Rights Reserved.