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

java.lang.Object
  extended by org.atp.spi.TypeableImpl<QueryExpressionBody,ExpressionType>
      extended by org.sql.generation.implementation.grammar.query.QueryExpressionBodyImpl<QuerySpecification>
          extended by org.sql.generation.implementation.grammar.query.QuerySpecificationImpl
All Implemented Interfaces:
org.atp.api.Typeable<QueryExpressionBody>, QueryExpressionBody, QueryExpressionBodyActual, QueryExpressionBodyQuery, QuerySpecification
Direct Known Subclasses:
PgSQLQuerySpecificationImpl

public class QuerySpecificationImpl
extends QueryExpressionBodyImpl<QuerySpecification>
implements QuerySpecification

Author:
Stanislav Muhametsin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.query.QueryExpressionBody
QueryExpressionBody.EmptyQueryExpressionBody
 
Constructor Summary
protected QuerySpecificationImpl(java.lang.Class<? extends QuerySpecification> queryClass, SelectColumnClause select, FromClause from, BooleanExpression where, GroupByClause groupBy, BooleanExpression having, OrderByClause orderBy)
           
  QuerySpecificationImpl(SelectColumnClause select, FromClause from, BooleanExpression where, GroupByClause groupBy, BooleanExpression having, OrderByClause orderBy)
           
 
Method Summary
protected  boolean doesEqual(QuerySpecification another)
           
 SelectColumnClause getColumns()
           
 FromClause getFrom()
           
 GroupByClause getGroupBy()
           
 BooleanExpression getHaving()
           
 OrderByClause getOrderBy()
           
 BooleanExpression getWhere()
           
 
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

QuerySpecificationImpl

public QuerySpecificationImpl(SelectColumnClause select,
                              FromClause from,
                              BooleanExpression where,
                              GroupByClause groupBy,
                              BooleanExpression having,
                              OrderByClause orderBy)

QuerySpecificationImpl

protected QuerySpecificationImpl(java.lang.Class<? extends QuerySpecification> queryClass,
                                 SelectColumnClause select,
                                 FromClause from,
                                 BooleanExpression where,
                                 GroupByClause groupBy,
                                 BooleanExpression having,
                                 OrderByClause orderBy)
Method Detail

getColumns

public SelectColumnClause getColumns()
Specified by:
getColumns in interface QuerySpecification

getFrom

public FromClause getFrom()
Specified by:
getFrom in interface QuerySpecification

getWhere

public BooleanExpression getWhere()
Specified by:
getWhere in interface QuerySpecification

getGroupBy

public GroupByClause getGroupBy()
Specified by:
getGroupBy in interface QuerySpecification

getHaving

public BooleanExpression getHaving()
Specified by:
getHaving in interface QuerySpecification

getOrderBy

public OrderByClause getOrderBy()
Specified by:
getOrderBy in interface QuerySpecification

doesEqual

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


Copyright © 2010. All Rights Reserved.