ACTION_DELETE, ACTION_INSERT, ACTION_UNKNOWN, ACTION_UPDATE| Modifier | Constructor and Description |
|---|---|
protected |
SecondaryRow(Column[] cols,
int action) |
|
SecondaryRow(Table table,
int action)
Constructor; supply table and action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyInto(RowImpl row,
boolean whereOnly)
Copy all values from this row into the given one.
|
protected java.lang.String |
generateSQL(DBDictionary dict)
Generate the SQL for this row; the result of this method is cached.
|
protected RowImpl |
newInstance(Column[] cols,
int action)
Return a new row.
|
void |
setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm)
Set the value of the given foreign key to the given object.
|
void |
setForeignKey(ForeignKey fk,
OpenJPAStateManager sm)
Set the value of the given foreign key to the given object.
|
void |
setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
Set the value of the given column to the identity of given instance,
using the given callback to create the column value.
|
canSet, canSetAny, clearForeignKey, clearRelationId, clone, flush, flush, getAction, getColumns, getFailedObject, getParameterCount, getPrimaryKey, getSet, getSQL, getTable, getTypes, getVals, getWhere, isDependent, isFlushed, isValid, setArray, setAsciiStream, setBigDecimal, setBigInteger, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCalendar, setChar, setCharacterStream, setClob, setDate, setDate, setDouble, setFailedObject, setFloat, setFlushed, setInt, setLocale, setLong, setNull, setNull, setNumber, setObject, setObject, setPrimaryKey, setPrimaryKey, setRaw, setShort, setString, setTime, setTimestamp, setValid, whereArray, whereAsciiStream, whereBigDecimal, whereBigInteger, whereBinaryStream, whereBlob, whereBoolean, whereByte, whereBytes, whereCalendar, whereChar, whereCharacterStream, whereClob, whereDate, whereDate, whereDouble, whereFloat, whereForeignKey, whereInt, whereLocale, whereLong, whereNull, whereNumber, whereObject, whereObject, wherePrimaryKey, whereRaw, whereShort, whereString, whereTime, whereTimestamppublic SecondaryRow(Table table, int action)
protected SecondaryRow(Column[] cols, int action)
public void setForeignKey(ForeignKey fk, OpenJPAStateManager sm) throws java.sql.SQLException
RowsetForeignKey in interface RowsetForeignKey in class RowImpljava.sql.SQLExceptionpublic void setForeignKey(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm) throws java.sql.SQLException
RowsetForeignKey in interface RowsetForeignKey in class RowImplio - information on which columns are settable; may be nulljava.sql.SQLExceptionpublic void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws java.sql.SQLException
RowsetRelationId in interface RowsetRelationId in class RowImpljava.sql.SQLExceptionprotected java.lang.String generateSQL(DBDictionary dict)
RowImplgenerateSQL in class RowImplprotected RowImpl newInstance(Column[] cols, int action)
RowImplnewInstance in class RowImplCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.