|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Logical representation of a table row for insert/update/delete. The
ExecutionManager is responsible for implementing rows to do
something useful when the values are set.
| Field Summary | |
static int |
ACTION_DELETE
Mark the row for deletion. |
static int |
ACTION_INSERT
Mark the row for inserttion. |
static int |
ACTION_UPDATE
Mark the row for update. |
| Method Summary | |
int |
getAction()
Return the action for this row. |
java.lang.Object |
getFailedObject()
Return the failed object to include in optimistic lock exceptions. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Table |
getTable()
Return the table for this row. |
void |
setArray(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Array val)
Set the value of the given column in this row. |
void |
setAsciiStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
Set the value of the given column in this row. |
void |
setBigDecimal(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigDecimal val)
Set the value of the given column in this row. |
void |
setBigInteger(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigInteger val)
Set the value of the given column in this row. |
void |
setBinaryStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
Set the value of the given column in this row. |
void |
setBlob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Blob val)
Set the value of the given column in this row. |
void |
setBoolean(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
boolean val)
Set the value of the given column in this row. |
void |
setByte(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte val)
Set the value of the given column in this row. |
void |
setBytes(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte[] val)
Set the value of the given column in this row. |
void |
setChar(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
char val)
Set the value of the given column in this row. |
void |
setCharacterStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.Reader val,
int length)
Set the value of the given column in this row. |
void |
setClob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Clob val)
Set the value of the given column in this row. |
void |
setDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Date val)
Set the value of the given column in this row. |
void |
setDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Date val,
java.util.Calendar cal)
Set the value of the given column in this row. |
void |
setDouble(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
double val)
Set the value of the given column in this row. |
void |
setFailedObject(java.lang.Object failed)
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(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
float val)
Set the value of the given column in this row. |
void |
setForeignKey(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk,
java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
Set the value for the given foreign key. |
void |
setInt(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
int val)
Set the value of the given column in this row. |
void |
setLocale(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Locale val)
Set the value of the given column in this row. |
void |
setLong(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
long val)
Set the value of the given column in this row. |
void |
setNull(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Set the value of the given column in this row. |
void |
setObject(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.Object val,
int metaType,
java.lang.Object arg)
Set the value of the given column in this row. |
void |
setPrimaryKey(java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
Set the primary key to the given object's id. |
void |
setShort(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
short val)
Set the value of the given column in this row. |
void |
setString(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.String val)
Set the value of the given column in this row. |
void |
setTime(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Time val,
java.util.Calendar cal)
Set the value of the given column in this row. |
void |
setTimestamp(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Timestamp val,
java.util.Calendar cal)
Set the value of the given column in this row. |
void |
whereArray(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Array val)
Set an equality condition on the value of the given column in this row. |
void |
whereAsciiStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
whereBigDecimal(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigDecimal val)
Set an equality condition on the value of the given column in this row. |
void |
whereBigInteger(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigInteger val)
Set an equality condition on the value of the given column in this row. |
void |
whereBinaryStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
whereBlob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Blob val)
Set an equality condition on the value of the given column in this row. |
void |
whereBoolean(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
boolean val)
Set an equality condition on the value of the given column in this row. |
void |
whereByte(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte val)
Set an equality condition on the value of the given column in this row. |
void |
whereBytes(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte[] val)
Set an equality condition on the value of the given column in this row. |
void |
whereChar(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
char val)
Set an equality condition on the value of the given column in this row. |
void |
whereCharacterStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.Reader val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
whereClob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Clob val)
Set an equality condition on the value of the given column in this row. |
void |
whereDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Date val)
Set an equality condition on the value of the given column in this row. |
void |
whereDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Date val,
java.util.Calendar cal)
Set an equality condition on the value of the given column in this row. |
void |
whereDouble(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
double val)
Set an equality condition on the value of the given column in this row. |
void |
whereFloat(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
float val)
Set an equality condition on the value of the given column in this row. |
void |
whereForeignKey(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk,
java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
Set the object id value for the given foreign key. |
void |
whereInt(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
int val)
Set an equality condition on the value of the given column in this row. |
void |
whereLocale(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Locale val)
Set an equality condition on the value of the given column in this row. |
void |
whereLong(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
long val)
Set an equality condition on the value of the given column in this row. |
void |
whereNull(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Set an equality condition on the value of the given column in this row. |
void |
whereObject(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.Object val,
int metaType,
java.lang.Object arg)
Set an equality condition on the value of the given column in this row. |
void |
wherePrimaryKey(java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
Set the primary key equality criteria for this row. |
void |
whereShort(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
short val)
Set an equality condition on the value of the given column in this row. |
void |
whereString(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.String val)
Set an equality condition on the value of the given column in this row. |
void |
whereTime(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Time val,
java.util.Calendar cal)
Set an equality condition on the value of the given column in this row. |
void |
whereTimestamp(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Timestamp val,
java.util.Calendar cal)
Set an equality condition on the value of the given column in this row. |
| Field Detail |
public static final int ACTION_UPDATE
public static final int ACTION_INSERT
public static final int ACTION_DELETE
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.schema.Table getTable()
public int getAction()
public java.lang.Object getFailedObject()
public void setFailedObject(java.lang.Object failed)
public void setPrimaryKey(java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
throws java.sql.SQLException
oid - the object id from which to extract the
primary key valuesmapping - the class mapping for this row
java.sql.SQLException
public void wherePrimaryKey(java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
throws java.sql.SQLException
oid - the object id from which to extract the
primary key valuesmapping - the class mapping for this row
java.sql.SQLException
public void setForeignKey(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk,
java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
throws java.sql.SQLException
fk - the foreign key to setoid - the object id from which to extract the
foreign key valuesmapping - the class mapping for the related object
java.sql.SQLException
public void whereForeignKey(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk,
java.lang.Object oid,
com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping)
throws java.sql.SQLException
fk - the foreign key to setoid - the object id from which to extract the
foreign key valuesmapping - the class mapping for the related object
java.sql.SQLException
public void setArray(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Array val)
throws java.sql.SQLException
java.sql.SQLException
public void setAsciiStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setBigDecimal(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigDecimal val)
throws java.sql.SQLException
java.sql.SQLException
public void setBigInteger(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigInteger val)
throws java.sql.SQLException
java.sql.SQLException
public void setBinaryStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setBlob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Blob val)
throws java.sql.SQLException
java.sql.SQLException
public void setBoolean(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
boolean val)
throws java.sql.SQLException
java.sql.SQLException
public void setByte(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte val)
throws java.sql.SQLException
java.sql.SQLException
public void setBytes(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte[] val)
throws java.sql.SQLException
java.sql.SQLException
public void setChar(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
char val)
throws java.sql.SQLException
java.sql.SQLException
public void setCharacterStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.Reader val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setClob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Clob val)
throws java.sql.SQLException
java.sql.SQLException
public void setDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Date val)
throws java.sql.SQLException
java.sql.SQLException
public void setDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Date val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void setDouble(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
double val)
throws java.sql.SQLException
java.sql.SQLException
public void setFloat(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
float val)
throws java.sql.SQLException
java.sql.SQLException
public void setInt(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
int val)
throws java.sql.SQLException
java.sql.SQLException
public void setLong(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
long val)
throws java.sql.SQLException
java.sql.SQLException
public void setLocale(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Locale val)
throws java.sql.SQLException
java.sql.SQLException
public void setNull(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
throws java.sql.SQLException
java.sql.SQLException
public void setObject(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.Object val,
int metaType,
java.lang.Object arg)
throws java.sql.SQLException
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 arguments
java.sql.SQLException
public void setShort(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
short val)
throws java.sql.SQLException
java.sql.SQLException
public void setString(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.String val)
throws java.sql.SQLException
java.sql.SQLException
public void setTime(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Time val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void setTimestamp(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Timestamp val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void whereArray(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Array val)
throws java.sql.SQLException
java.sql.SQLException
public void whereAsciiStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void whereBigDecimal(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigDecimal val)
throws java.sql.SQLException
java.sql.SQLException
public void whereBigInteger(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.math.BigInteger val)
throws java.sql.SQLException
java.sql.SQLException
public void whereBinaryStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.InputStream val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void whereBlob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Blob val)
throws java.sql.SQLException
java.sql.SQLException
public void whereBoolean(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
boolean val)
throws java.sql.SQLException
java.sql.SQLException
public void whereByte(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte val)
throws java.sql.SQLException
java.sql.SQLException
public void whereBytes(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
byte[] val)
throws java.sql.SQLException
java.sql.SQLException
public void whereChar(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
char val)
throws java.sql.SQLException
java.sql.SQLException
public void whereCharacterStream(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.io.Reader val,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void whereClob(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Clob val)
throws java.sql.SQLException
java.sql.SQLException
public void whereDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Date val)
throws java.sql.SQLException
java.sql.SQLException
public void whereDate(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Date val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void whereDouble(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
double val)
throws java.sql.SQLException
java.sql.SQLException
public void whereFloat(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
float val)
throws java.sql.SQLException
java.sql.SQLException
public void whereInt(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
int val)
throws java.sql.SQLException
java.sql.SQLException
public void whereLong(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
long val)
throws java.sql.SQLException
java.sql.SQLException
public void whereLocale(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.util.Locale val)
throws java.sql.SQLException
java.sql.SQLException
public void whereNull(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
throws java.sql.SQLException
java.sql.SQLException
public void whereObject(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.Object val,
int metaType,
java.lang.Object arg)
throws java.sql.SQLException
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 arguments
java.sql.SQLException
public void whereShort(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
short val)
throws java.sql.SQLException
java.sql.SQLException
public void whereString(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.lang.String val)
throws java.sql.SQLException
java.sql.SQLException
public void whereTime(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Time val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void whereTimestamp(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
java.sql.Timestamp val,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||