SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.impl.jdbc.sql
Class Update

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.sql.SQLStatement
        |
        +--com.solarmetric.kodo.impl.jdbc.sql.NonSelectingSQL
              |
              +--com.solarmetric.kodo.impl.jdbc.sql.Update
Direct Known Subclasses:
Insert

public class Update
extends NonSelectingSQL

Abstraction of a SQL UPDATE statement.


Field Summary
protected static Localizer _loc
           
 
Constructor Summary
Update(DBDictionary dict, ClassResolver resolver)
           
Update(Update copy, ClassResolver resolver)
           
 
Method Summary
 void clear()
          Clear the WHERE clause and table list so that this statement can be reused.
 void clearSet()
          Clear the set updates.
 SQLBuffer getSQLBuffer()
          Return the SQLBuffer to be used for exeucting the statement;
 boolean isValid()
          Return true if at least one table has been set for this SQL statement.
 Update set(Column[] col, Object[] value)
          Set the given columns to the given values; this also sets the table of the UPDATE to the table of the given columns.
 Update set(Column col, boolean value)
          See set(Column,Object).
 Update set(Column col, byte value)
          See set(Column,Object).
 Update set(Column col, char value)
          See set(Column,Object).
 Update set(Column col, double value)
          See set(Column,Object).
 Update set(Column col, float value)
          See set(Column,Object).
 Update set(Column col, int value)
          See set(Column,Object).
 Update set(Column col, long value)
          See set(Column,Object).
 Update set(Column col, Object value)
          Set the given column to the given value; this also sets the table of the UPDATE to the table of the given column.
 Update set(Column col, short value)
          See set(Column,Object).
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.sql.SQLStatement
and, clearTable, clearWhere, getClassResolver, getDictionary, getTables, getWhere, not, or, toString, where, where, where, where, where, where, where, where, where, where
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_loc

protected static Localizer _loc
Constructor Detail

Update

public Update(DBDictionary dict,
              ClassResolver resolver)

Update

public Update(Update copy,
              ClassResolver resolver)
Method Detail

set

public Update set(Column col,
                  Object value)
Set the given column to the given value; this also sets the table of the UPDATE to the table of the given column.

set

public Update set(Column col,
                  boolean value)
See set(Column,Object).

set

public Update set(Column col,
                  byte value)
See set(Column,Object).

set

public Update set(Column col,
                  char value)
See set(Column,Object).

set

public Update set(Column col,
                  double value)
See set(Column,Object).

set

public Update set(Column col,
                  float value)
See set(Column,Object).

set

public Update set(Column col,
                  int value)
See set(Column,Object).

set

public Update set(Column col,
                  long value)
See set(Column,Object).

set

public Update set(Column col,
                  short value)
See set(Column,Object).

set

public Update set(Column[] col,
                  Object[] value)
Set the given columns to the given values; this also sets the table of the UPDATE to the table of the given columns.

clearSet

public void clearSet()
Clear the set updates.

isValid

public boolean isValid()
Description copied from class: SQLStatement
Return true if at least one table has been set for this SQL statement.
Overrides:
isValid in class SQLStatement

clear

public void clear()
Description copied from class: SQLStatement
Clear the WHERE clause and table list so that this statement can be reused.
Overrides:
clear in class SQLStatement

getSQLBuffer

public SQLBuffer getSQLBuffer()
Description copied from class: SQLStatement
Return the SQLBuffer to be used for exeucting the statement;
Overrides:
getSQLBuffer in class SQLStatement

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.