|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kodo.jdbc.sql.RowImpl
Field Summary | |
static Object |
NULL
|
Fields inherited from interface kodo.jdbc.sql.Row |
ACTION_DELETE, ACTION_INSERT, ACTION_UNKNOWN, ACTION_UPDATE |
Constructor Summary | |
RowImpl(Table,
int)
|
Method Summary | |
boolean |
canBatch(DBDictionary)
|
void |
clearForeignKey(ForeignKey)
|
Object |
clone()
|
void |
copyInto(RowImpl,
boolean)
|
void |
flush(PreparedStatement,
DBDictionary)
|
void |
flush(PreparedStatement,
int,
DBDictionary)
|
protected String |
generateSQL(DBDictionary)
|
int |
getAction()
Return the action for this row. |
Object |
getFailedObject()
Return the failed object to include in optimistic lock exceptions. |
int |
getParameterCount()
|
KodoStateManager |
getPrimaryKey()
Return the JDO instance that controls this row. |
Object |
getSet(Column)
|
String |
getSQL(DBDictionary)
|
Table |
getTable()
Return the table for this row. |
Object |
getWhere(Column)
|
boolean |
isDependent()
|
protected RowImpl |
newInstance(Table,
int)
|
void |
setArray(Column,
Array)
Set the value of the given column in this row. |
void |
setAsciiStream(Column,
InputStream,
int)
Set the value of the given column in this row. |
void |
setBigDecimal(Column,
BigDecimal)
Set the value of the given column in this row. |
void |
setBigInteger(Column,
BigInteger)
Set the value of the given column in this row. |
void |
setBinaryStream(Column,
InputStream,
int)
Set the value of the given column in this row. |
void |
setBlob(Column,
Blob)
Set the value of the given column in this row. |
void |
setBoolean(Column,
boolean)
Set the value of the given column in this row. |
void |
setByte(Column,
byte)
Set the value of the given column in this row. |
void |
setBytes(Column,
byte[])
Set the value of the given column in this row. |
void |
setChar(Column,
char)
Set the value of the given column in this row. |
void |
setCharacterStream(Column,
Reader,
int)
Set the value of the given column in this row. |
void |
setClob(Column,
Clob)
Set the value of the given column in this row. |
void |
setDate(Column,
Date)
Set the value of the given column in this row. |
void |
setDate(Column,
Date,
Calendar)
Set the value of the given column in this row. |
void |
setDouble(Column,
double)
Set the value of the given column in this row. |
void |
setFailedObject(Object)
Set the failed object to include in the optimistic lock exception that will be thrown if this update results in an update count of 0 when executed. |
void |
setFloat(Column,
float)
Set the value of the given column in this row. |
void |
setForeignKey(ForeignKey,
KodoStateManager)
Set the value of the given foreign key to the given object. |
void |
setInt(Column,
int)
Set the value of the given column in this row. |
void |
setLocale(Column,
Locale)
Set the value of the given column in this row. |
void |
setLong(Column,
long)
Set the value of the given column in this row. |
void |
setNull(Column)
Set the value of the given column in this row. |
void |
setObject(Column,
Object,
int,
Object)
Set the value of the given column in this row. |
void |
setPrimaryKey(KodoStateManager)
Set the primary key to represent the given object. |
void |
setRaw(Column,
String)
Set a DB understood value for the given column. |
void |
setShort(Column,
short)
Set the value of the given column in this row. |
void |
setString(Column,
String)
Set the value of the given column in this row. |
void |
setTime(Column,
Time,
Calendar)
Set the value of the given column in this row. |
void |
setTimestamp(Column,
Timestamp,
Calendar)
Set the value of the given column in this row. |
void |
whereArray(Column,
Array)
Set an equality condition on the value of the given column in this row. |
void |
whereAsciiStream(Column,
InputStream,
int)
Set an equality condition on the value of the given column in this row. |
void |
whereBigDecimal(Column,
BigDecimal)
Set an equality condition on the value of the given column in this row. |
void |
whereBigInteger(Column,
BigInteger)
Set an equality condition on the value of the given column in this row. |
void |
whereBinaryStream(Column,
InputStream,
int)
Set an equality condition on the value of the given column in this row. |
void |
whereBlob(Column,
Blob)
Set an equality condition on the value of the given column in this row. |
void |
whereBoolean(Column,
boolean)
Set an equality condition on the value of the given column in this row. |
void |
whereByte(Column,
byte)
Set an equality condition on the value of the given column in this row. |
void |
whereBytes(Column,
byte[])
Set an equality condition on the value of the given column in this row. |
void |
whereChar(Column,
char)
Set an equality condition on the value of the given column in this row. |
void |
whereCharacterStream(Column,
Reader,
int)
Set an equality condition on the value of the given column in this row. |
void |
whereClob(Column,
Clob)
Set an equality condition on the value of the given column in this row. |
void |
whereDate(Column,
Date)
Set an equality condition on the value of the given column in this row. |
void |
whereDate(Column,
Date,
Calendar)
Set an equality condition on the value of the given column in this row. |
void |
whereDouble(Column,
double)
Set an equality condition on the value of the given column in this row. |
void |
whereFloat(Column,
float)
Set an equality condition on the value of the given column in this row. |
void |
whereForeignKey(ForeignKey,
KodoStateManager)
Set the foreign key equality criteria to link to the given object. |
void |
whereInt(Column,
int)
Set an equality condition on the value of the given column in this row. |
void |
whereLocale(Column,
Locale)
Set an equality condition on the value of the given column in this row. |
void |
whereLong(Column,
long)
Set an equality condition on the value of the given column in this row. |
void |
whereNull(Column)
Set an equality condition on the value of the given column in this row. |
void |
whereObject(Column,
Object,
int,
Object)
Set an equality condition on the value of the given column in this row. |
void |
wherePrimaryKey(KodoStateManager)
Set the primary key equality criteria for this row. |
void |
whereShort(Column,
short)
Set an equality condition on the value of the given column in this row. |
void |
whereString(Column,
String)
Set an equality condition on the value of the given column in this row. |
void |
whereTime(Column,
Time,
Calendar)
Set an equality condition on the value of the given column in this row. |
void |
whereTimestamp(Column,
Timestamp,
Calendar)
Set an equality condition on the value of the given column in this row. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Object NULL
Constructor Detail |
public RowImpl(Table, int)
Method Detail |
public Table getTable()
Row
getTable
in interface Row
public int getAction()
Row
getAction
in interface Row
public KodoStateManager getPrimaryKey()
Row
Row.setPrimaryKey(kodo.runtime.KodoStateManager)
method does not necessarily have to be called
to know the owning instance, nor does this row's table have to have
an actual primary key.getPrimaryKey
in interface Row
public Object getFailedObject()
Row
getFailedObject
in interface Row
public void setFailedObject(Object)
Row
setFailedObject
in interface Row
public boolean isDependent()
public Object getSet(Column)
public Object getWhere(Column)
public void setPrimaryKey(KodoStateManager) throws SQLException
Row
setPrimaryKey
in interface Row
public void wherePrimaryKey(KodoStateManager) throws SQLException
Row
wherePrimaryKey
in interface Row
public void setForeignKey(ForeignKey, KodoStateManager) throws SQLException
Row
setForeignKey
in interface Row
public void whereForeignKey(ForeignKey, KodoStateManager) throws SQLException
Row
whereForeignKey
in interface Row
public void clearForeignKey(ForeignKey) throws SQLException
public void setArray(Column, Array) throws SQLException
Row
setArray
in interface Row
public void setAsciiStream(Column, InputStream, int) throws SQLException
Row
setAsciiStream
in interface Row
public void setBigDecimal(Column, BigDecimal) throws SQLException
Row
setBigDecimal
in interface Row
public void setBigInteger(Column, BigInteger) throws SQLException
Row
setBigInteger
in interface Row
public void setBinaryStream(Column, InputStream, int) throws SQLException
Row
setBinaryStream
in interface Row
public void setBlob(Column, Blob) throws SQLException
Row
setBlob
in interface Row
public void setBoolean(Column, boolean) throws SQLException
Row
setBoolean
in interface Row
public void setByte(Column, byte) throws SQLException
Row
setByte
in interface Row
public void setBytes(Column, byte[]) throws SQLException
Row
setBytes
in interface Row
public void setChar(Column, char) throws SQLException
Row
setChar
in interface Row
public void setCharacterStream(Column, Reader, int) throws SQLException
Row
setCharacterStream
in interface Row
public void setClob(Column, Clob) throws SQLException
Row
setClob
in interface Row
public void setDate(Column, Date) throws SQLException
Row
setDate
in interface Row
public void setDate(Column, Date, Calendar) throws SQLException
Row
setDate
in interface Row
public void setDouble(Column, double) throws SQLException
Row
setDouble
in interface Row
public void setFloat(Column, float) throws SQLException
Row
setFloat
in interface Row
public void setInt(Column, int) throws SQLException
Row
setInt
in interface Row
public void setLong(Column, long) throws SQLException
Row
setLong
in interface Row
public void setLocale(Column, Locale) throws SQLException
Row
setLocale
in interface Row
public void setRaw(Column, String) throws SQLException
Row
setRaw
in interface Row
public void setNull(Column) throws SQLException
Row
setNull
in interface Row
public void setShort(Column, short) throws SQLException
Row
setShort
in interface Row
public void setString(Column, String) throws SQLException
Row
setString
in interface Row
public void setTime(Column, Time, Calendar) throws SQLException
Row
setTime
in interface Row
public void setTimestamp(Column, Timestamp, Calendar) throws SQLException
Row
setTimestamp
in interface Row
public void whereArray(Column, Array) throws SQLException
Row
whereArray
in interface Row
public void whereAsciiStream(Column, InputStream, int) throws SQLException
Row
whereAsciiStream
in interface Row
public void whereBigDecimal(Column, BigDecimal) throws SQLException
Row
whereBigDecimal
in interface Row
public void whereBigInteger(Column, BigInteger) throws SQLException
Row
whereBigInteger
in interface Row
public void whereBinaryStream(Column, InputStream, int) throws SQLException
Row
whereBinaryStream
in interface Row
public void whereBlob(Column, Blob) throws SQLException
Row
whereBlob
in interface Row
public void whereBoolean(Column, boolean) throws SQLException
Row
whereBoolean
in interface Row
public void whereByte(Column, byte) throws SQLException
Row
whereByte
in interface Row
public void whereBytes(Column, byte[]) throws SQLException
Row
whereBytes
in interface Row
public void whereChar(Column, char) throws SQLException
Row
whereChar
in interface Row
public void whereCharacterStream(Column, Reader, int) throws SQLException
Row
whereCharacterStream
in interface Row
public void whereClob(Column, Clob) throws SQLException
Row
whereClob
in interface Row
public void whereDate(Column, Date) throws SQLException
Row
whereDate
in interface Row
public void whereDate(Column, Date, Calendar) throws SQLException
Row
whereDate
in interface Row
public void whereDouble(Column, double) throws SQLException
Row
whereDouble
in interface Row
public void whereFloat(Column, float) throws SQLException
Row
whereFloat
in interface Row
public void whereInt(Column, int) throws SQLException
Row
whereInt
in interface Row
public void whereLong(Column, long) throws SQLException
Row
whereLong
in interface Row
public void whereLocale(Column, Locale) throws SQLException
Row
whereLocale
in interface Row
public void whereNull(Column) throws SQLException
Row
whereNull
in interface Row
public void whereShort(Column, short) throws SQLException
Row
whereShort
in interface Row
public void whereString(Column, String) throws SQLException
Row
whereString
in interface Row
public void whereTime(Column, Time, Calendar) throws SQLException
Row
whereTime
in interface Row
public void whereTimestamp(Column, Timestamp, Calendar) throws SQLException
Row
whereTimestamp
in interface Row
public void setObject(Column, Object, int, Object) throws SQLException
Row
setObject
in interface Row
kodo.jdbc.sql.Row
col
- the column being setval
- the value for the columnmetaType
- one of the constants from FieldMapping
indicating the type of the supplied valuearg
- some JDBC types can use additional argumentspublic void whereObject(Column, Object, int, Object) throws SQLException
Row
whereObject
in interface Row
kodo.jdbc.sql.Row
col
- the column being setval
- the value for the columnmetaType
- one of the constants from FieldMapping
indicating the type of the supplied valuearg
- some JDBC types can use additional argumentspublic String getSQL(DBDictionary)
protected String generateSQL(DBDictionary)
public boolean canBatch(DBDictionary)
public int getParameterCount()
public void flush(PreparedStatement, DBDictionary) throws SQLException
public void flush(PreparedStatement, int, DBDictionary) throws SQLException
public Object clone()
clone
in class Object
protected RowImpl newInstance(Table, int)
public void copyInto(RowImpl, boolean)
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |