| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sourceforge.backpedal.impl.db.AbstractBindVariable
| Constructor Summary | |
AbstractBindVariable(int index,
                     Object valueAsObject,
                     String columnName)
 | 
|
| Method Summary | |
 Object | 
clone()
 | 
 String | 
getColumnName()
Return the name of the column I represent.  | 
 int | 
getIndex()
Return the index of my position in the list of bind variables to which I belong.  | 
abstract  int | 
getSqlType()
Return the value from java.sql.Types that I represent.  | 
 Object | 
getValue()
Return the value I represent i.e.  | 
 boolean | 
isNull()
 | 
 void | 
setColumnName(String columnName)
 | 
 void | 
setIndex(int index)
 | 
 void | 
setInto(PreparedStatement preparedStatement)
Call the relevant set() method on preparedStatement with index getIndex().  | 
 void | 
setValue(Object value)
 | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface net.sourceforge.backpedal.api.db.BindVariable | 
setInto | 
| Constructor Detail | 
public AbstractBindVariable(int index,
                            Object valueAsObject,
                            String columnName)
| Method Detail | 
public int getIndex()
BindVariable
getIndex in interface BindVariablepublic Object getValue()
BindVariable
getValue in interface BindVariablepublic abstract int getSqlType()
BindVariable
getSqlType in interface BindVariablepublic void setIndex(int index)
setIndex in interface BindVariablepublic void setValue(Object value)
setValue in interface BindVariablepublic void setColumnName(String columnName)
setColumnName in interface BindVariable
public Object clone()
             throws CloneNotSupportedException
clone in interface BindVariableclone in class ObjectCloneNotSupportedExceptionpublic boolean isNull()
isNull in interface BindVariablepublic String getColumnName()
BindVariable
getColumnName in interface BindVariablepublic String toString()
toString in class Object
public void setInto(PreparedStatement preparedStatement)
             throws SQLException
BindVariable
setInto in interface BindVariableSQLException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||