net.sf.csutils.core.query.impl
Class SqlCsqlStatement

java.lang.Object
  extended by net.sf.csutils.core.query.impl.SqlCsqlStatement
All Implemented Interfaces:
CsqlStatement

public class SqlCsqlStatement
extends java.lang.Object
implements CsqlStatement


Constructor Summary
SqlCsqlStatement(RegistryFacade pFacade, org.apache.labs.jaxmas.registry.sql.RegistryObjectLoader pRol)
           
 
Method Summary
 SqlCsqlStatement clone(RegistryFacade pFacade)
           
 java.util.List<javax.xml.registry.infomodel.RegistryObject[]> executeArrayQuery()
           
 java.util.List<javax.xml.registry.infomodel.RegistryObject> executeQuery()
           
 java.lang.String getSqlQuery()
           
 void setBoolean(int pNum, boolean pValue)
           
 void setBoolean(java.lang.String pName, boolean pValue)
           
 void setByte(int pNum, byte pValue)
           
 void setByte(java.lang.String pName, byte pValue)
           
 void setDate(int pNum, java.util.Calendar pCalendar)
           
 void setDate(java.lang.String pName, java.util.Calendar pCalendar)
           
 void setDateTime(int pNum, java.util.Calendar pCalendar)
           
 void setDateTime(java.lang.String pName, java.util.Calendar pCalendar)
           
 void setDouble(int pNum, double pValue)
           
 void setDouble(java.lang.String pName, double pValue)
           
 void setFloat(int pNum, float pValue)
           
 void setFloat(java.lang.String pName, float pValue)
           
 void setInt(int pNum, int pValue)
           
 void setInt(java.lang.String pName, int pValue)
           
 void setLong(int pNum, long pValue)
           
 void setLong(java.lang.String pName, long pValue)
           
 void setShort(int pNum, short pValue)
           
 void setShort(java.lang.String pName, short pValue)
           
 void setString(int pNum, java.lang.String pValue)
           
 void setString(java.lang.String pName, java.lang.String pValue)
           
 void setTime(int pNum, java.util.Calendar pCalendar)
           
 void setTime(java.lang.String pName, java.util.Calendar pCalendar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlCsqlStatement

public SqlCsqlStatement(RegistryFacade pFacade,
                        org.apache.labs.jaxmas.registry.sql.RegistryObjectLoader pRol)
                 throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException
Method Detail

clone

public SqlCsqlStatement clone(RegistryFacade pFacade)
                       throws javax.xml.registry.JAXRException
Specified by:
clone in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

executeArrayQuery

public java.util.List<javax.xml.registry.infomodel.RegistryObject[]> executeArrayQuery()
                                                                                throws javax.xml.registry.JAXRException
Specified by:
executeArrayQuery in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

executeQuery

public java.util.List<javax.xml.registry.infomodel.RegistryObject> executeQuery()
                                                                         throws javax.xml.registry.JAXRException
Specified by:
executeQuery in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setBoolean

public void setBoolean(int pNum,
                       boolean pValue)
                throws javax.xml.registry.JAXRException
Specified by:
setBoolean in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setBoolean

public void setBoolean(java.lang.String pName,
                       boolean pValue)
Specified by:
setBoolean in interface CsqlStatement

setByte

public void setByte(int pNum,
                    byte pValue)
             throws javax.xml.registry.JAXRException
Specified by:
setByte in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setByte

public void setByte(java.lang.String pName,
                    byte pValue)
Specified by:
setByte in interface CsqlStatement

setShort

public void setShort(int pNum,
                     short pValue)
              throws javax.xml.registry.JAXRException
Specified by:
setShort in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setShort

public void setShort(java.lang.String pName,
                     short pValue)
Specified by:
setShort in interface CsqlStatement

setInt

public void setInt(int pNum,
                   int pValue)
            throws javax.xml.registry.JAXRException
Specified by:
setInt in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setInt

public void setInt(java.lang.String pName,
                   int pValue)
Specified by:
setInt in interface CsqlStatement

setLong

public void setLong(int pNum,
                    long pValue)
             throws javax.xml.registry.JAXRException
Specified by:
setLong in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setLong

public void setLong(java.lang.String pName,
                    long pValue)
Specified by:
setLong in interface CsqlStatement

setFloat

public void setFloat(int pNum,
                     float pValue)
              throws javax.xml.registry.JAXRException
Specified by:
setFloat in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setFloat

public void setFloat(java.lang.String pName,
                     float pValue)
Specified by:
setFloat in interface CsqlStatement

setDouble

public void setDouble(int pNum,
                      double pValue)
               throws javax.xml.registry.JAXRException
Specified by:
setDouble in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setDouble

public void setDouble(java.lang.String pName,
                      double pValue)
Specified by:
setDouble in interface CsqlStatement

setDateTime

public void setDateTime(int pNum,
                        java.util.Calendar pCalendar)
                 throws javax.xml.registry.JAXRException
Specified by:
setDateTime in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setDateTime

public void setDateTime(java.lang.String pName,
                        java.util.Calendar pCalendar)
Specified by:
setDateTime in interface CsqlStatement

setDate

public void setDate(int pNum,
                    java.util.Calendar pCalendar)
             throws javax.xml.registry.JAXRException
Specified by:
setDate in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setDate

public void setDate(java.lang.String pName,
                    java.util.Calendar pCalendar)
Specified by:
setDate in interface CsqlStatement

setTime

public void setTime(int pNum,
                    java.util.Calendar pCalendar)
             throws javax.xml.registry.JAXRException
Specified by:
setTime in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setTime

public void setTime(java.lang.String pName,
                    java.util.Calendar pCalendar)
Specified by:
setTime in interface CsqlStatement

setString

public void setString(int pNum,
                      java.lang.String pValue)
               throws javax.xml.registry.JAXRException
Specified by:
setString in interface CsqlStatement
Throws:
javax.xml.registry.JAXRException

setString

public void setString(java.lang.String pName,
                      java.lang.String pValue)
Specified by:
setString in interface CsqlStatement

getSqlQuery

public java.lang.String getSqlQuery()


Copyright © 2009-2010. All Rights Reserved.