|
Kodo 4.1.0 generated on October 9 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.openjpa.jdbc.sql.RowImpl
kodo.jdbc.meta.strats.LockGroupStateComparisonVersionStrategy.CustomUpdate
public static class LockGroupStateComparisonVersionStrategy.CustomUpdate
Row implementation we use to pass to versionable mappings so they can set up the where conditions we need to add to update statements.
| Field Summary |
|---|
| Fields inherited from class org.apache.openjpa.jdbc.sql.RowImpl |
|---|
flags, NULL, VALID |
| Fields inherited from interface org.apache.openjpa.jdbc.sql.Row |
|---|
ACTION_DELETE, ACTION_INSERT, ACTION_UNKNOWN, ACTION_UPDATE |
| Method Summary | |
|---|---|
void |
flushAllRows(org.apache.openjpa.jdbc.sql.Row row)
|
void |
flushSecondaryRow(org.apache.openjpa.jdbc.sql.Row row)
|
Collection |
getAllRowDeletes()
|
org.apache.openjpa.jdbc.sql.Row |
getAllRows(org.apache.openjpa.jdbc.schema.Table table,
int action)
|
Collection |
getAllRowUpdates()
|
Collection |
getDeletes()
|
Collection |
getInserts()
|
org.apache.openjpa.jdbc.sql.Row |
getRow(org.apache.openjpa.jdbc.schema.Table table,
int action,
org.apache.openjpa.kernel.OpenJPAStateManager sm,
boolean create)
|
Collection |
getSecondaryDeletes()
|
org.apache.openjpa.jdbc.sql.Row |
getSecondaryRow(org.apache.openjpa.jdbc.schema.Table table,
int action)
|
Collection |
getSecondaryUpdates()
|
String |
getSQL()
Return a boolean SQL expression that should be added to the WHERE clause of an UPDATE to test whether the current database record matches our stored version. |
Collection |
getUpdates()
|
boolean |
hasAutoAssignConstraints()
|
protected org.apache.openjpa.jdbc.sql.RowImpl |
newInstance(org.apache.openjpa.jdbc.schema.Table table,
int action)
|
void |
setObject(org.apache.openjpa.jdbc.schema.Column col,
Object val)
|
| Methods inherited from class org.apache.openjpa.jdbc.sql.RowImpl |
|---|
canSet, canSetAny, clearForeignKey, clearRelationId, clone, copyInto, flush, flush, generateSQL, getAction, getFailedObject, getParameterCount, getPrimaryKey, getSet, getSQL, getTable, getWhere, isDependent, isValid, setArray, setAsciiStream, setBigDecimal, setBigInteger, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCalendar, setChar, setCharacterStream, setClob, setDate, setDate, setDouble, setFailedObject, setFloat, setForeignKey, setForeignKey, setInt, setLocale, setLong, setNull, setNull, setNumber, setObject, setPrimaryKey, setPrimaryKey, setRaw, setRelationId, 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, whereTimestamp |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getSQL()
protected org.apache.openjpa.jdbc.sql.RowImpl newInstance(org.apache.openjpa.jdbc.schema.Table table,
int action)
newInstance in class org.apache.openjpa.jdbc.sql.RowImplpublic boolean hasAutoAssignConstraints()
public Collection getInserts()
public Collection getUpdates()
public Collection getDeletes()
public Collection getSecondaryUpdates()
public Collection getSecondaryDeletes()
public Collection getAllRowUpdates()
public Collection getAllRowDeletes()
public org.apache.openjpa.jdbc.sql.Row getRow(org.apache.openjpa.jdbc.schema.Table table,
int action,
org.apache.openjpa.kernel.OpenJPAStateManager sm,
boolean create)
getRow in interface org.apache.openjpa.jdbc.sql.RowManager
public org.apache.openjpa.jdbc.sql.Row getSecondaryRow(org.apache.openjpa.jdbc.schema.Table table,
int action)
getSecondaryRow in interface org.apache.openjpa.jdbc.sql.RowManagerpublic void flushSecondaryRow(org.apache.openjpa.jdbc.sql.Row row)
flushSecondaryRow in interface org.apache.openjpa.jdbc.sql.RowManager
public org.apache.openjpa.jdbc.sql.Row getAllRows(org.apache.openjpa.jdbc.schema.Table table,
int action)
getAllRows in interface org.apache.openjpa.jdbc.sql.RowManagerpublic void flushAllRows(org.apache.openjpa.jdbc.sql.Row row)
flushAllRows in interface org.apache.openjpa.jdbc.sql.RowManager
public void setObject(org.apache.openjpa.jdbc.schema.Column col,
Object val)
throws SQLException
setObject in interface org.apache.openjpa.jdbc.sql.RowsetObject in class org.apache.openjpa.jdbc.sql.RowImplSQLException
|
Kodo 4.1.0 generated on October 9 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||