com.uwyn.rife.database.queries
Class WhereGroupAnd<ParentType extends com.uwyn.rife.database.queries.WhereQuery>

java.lang.Object
  extended by com.uwyn.rife.database.queries.AbstractWhereQuery<AbstractWhereGroup<ParentType>>
      extended by com.uwyn.rife.database.queries.AbstractWhereGroup<ParentType>
          extended by com.uwyn.rife.database.queries.WhereGroupAnd<ParentType>
All Implemented Interfaces:
Query, Cloneable

public class WhereGroupAnd<ParentType extends com.uwyn.rife.database.queries.WhereQuery>
extends AbstractWhereGroup<ParentType>


Field Summary
protected  Datasource mDatasource
           
protected  boolean mExcludeUnsupportedCapabilities
           
protected  String mSql
           
 
Fields inherited from class com.uwyn.rife.database.queries.AbstractWhereGroup
mParent
 
Fields inherited from class com.uwyn.rife.database.queries.AbstractWhereQuery
mWhere
 
Constructor Summary
WhereGroupAnd(Datasource datasource, com.uwyn.rife.database.queries.WhereQuery parent)
           
 
Method Summary
protected  void _fieldSubselect(Select query)
           
protected  void _tableSubselect(Select query)
           
protected  void _unionSubselect(Select query)
           
protected  void _whereSubselect(Select query)
           
protected  void addFieldParameter(String field)
           
protected  void addWhereParameter(String field)
           
 void addWhereParameters(List<String> parameters)
           
 void addWhereParameters(List<String> parameters)
           
protected  void clearGenerated()
           
protected  void clearWhereParameters()
           
 ParentType end()
           
 com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
           
 Datasource getDatasource()
           
 String getLimitParameter()
           
 String getOffsetParameter()
           
 QueryParameters getParameters()
           
protected  List<String> getWhereParameters()
           
protected  boolean isLimitBeforeOffset()
           
 void setExcludeUnsupportedCapabilities(boolean flag)
           
protected  void setLimitParameter(String limitParameter)
           
protected  void setOffsetParameter(String offsetParameter)
           
 String toString()
           
 
Methods inherited from class com.uwyn.rife.database.queries.AbstractWhereGroup
clone, getSql
 
Methods inherited from class com.uwyn.rife.database.queries.AbstractWhereQuery
clear, getWhere, startWhere, startWhereAnd, startWhereOr, where, where, where, where, where, where, where, where, where, where, where, where, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereExcluded, whereFiltered, whereIncluded, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereParameter, whereParameter, whereParameterAnd, whereParameterAnd, whereParameterOr, whereParameterOr, whereParameters, whereParametersExcluded, whereSubselect
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.uwyn.rife.database.queries.Query
setExcludeUnsupportedCapabilities
 

Field Detail

mDatasource

protected Datasource mDatasource

mSql

protected String mSql

mExcludeUnsupportedCapabilities

protected boolean mExcludeUnsupportedCapabilities
Constructor Detail

WhereGroupAnd

public WhereGroupAnd(Datasource datasource,
                     com.uwyn.rife.database.queries.WhereQuery parent)
Method Detail

getCapabilities

public com.uwyn.rife.database.capabilities.Capabilities getCapabilities()

end

public ParentType end()
Overrides:
end in class AbstractWhereGroup<ParentType extends com.uwyn.rife.database.queries.WhereQuery>

addWhereParameters

public void addWhereParameters(List<String> parameters)

_fieldSubselect

protected void _fieldSubselect(Select query)

_tableSubselect

protected void _tableSubselect(Select query)

_whereSubselect

protected void _whereSubselect(Select query)

_unionSubselect

protected void _unionSubselect(Select query)

getParameters

public QueryParameters getParameters()
Specified by:
getParameters in interface Query

addFieldParameter

protected void addFieldParameter(String field)

clearWhereParameters

protected void clearWhereParameters()

addWhereParameter

protected void addWhereParameter(String field)

getWhereParameters

protected List<String> getWhereParameters()

addWhereParameters

public void addWhereParameters(List<String> parameters)

setLimitParameter

protected void setLimitParameter(String limitParameter)

getLimitParameter

public String getLimitParameter()

setOffsetParameter

protected void setOffsetParameter(String offsetParameter)

getOffsetParameter

public String getOffsetParameter()

isLimitBeforeOffset

protected boolean isLimitBeforeOffset()

getDatasource

public Datasource getDatasource()

setExcludeUnsupportedCapabilities

public void setExcludeUnsupportedCapabilities(boolean flag)
Specified by:
setExcludeUnsupportedCapabilities in interface Query

clearGenerated

protected void clearGenerated()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.