|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy
org.apache.openjpa.jdbc.meta.strats.NoneClassStrategy
public class NoneClassStrategy
Strategy for classes that aren't mapped.
| Field Summary | |
|---|---|
static java.lang.String |
ALIAS
|
| Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy |
|---|
cls |
| Method Summary | |
|---|---|
void |
delete(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set the where values appropriately to delete the proper instance, and set all relations on non-secondary tables as updates. |
java.lang.String |
getAlias()
Return the alias of this strategy. |
static NoneClassStrategy |
getInstance()
Return the singleton instance. |
void |
insert(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows. |
void |
setClassMapping(ClassMapping owner)
Set the class mapping using this strategy. |
void |
update(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows. |
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy |
|---|
customLoad, customLoad, customLoad, isPrimaryKeyObjectId, joinSuperclass, supportsEagerSelect |
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy |
|---|
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy |
|---|
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, map |
| Field Detail |
|---|
public static final java.lang.String ALIAS
| Method Detail |
|---|
public static NoneClassStrategy getInstance()
public java.lang.String getAlias()
Strategy
getAlias in interface StrategygetAlias in class AbstractStrategypublic void setClassMapping(ClassMapping owner)
ClassStrategy
setClassMapping in interface ClassStrategysetClassMapping in class AbstractClassStrategy
public void insert(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
throws java.sql.SQLException
Strategy
insert in interface Strategyinsert in class AbstractStrategyjava.sql.SQLException
public void update(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
throws java.sql.SQLException
Strategy
update in interface Strategyupdate in class AbstractStrategyjava.sql.SQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)
public void delete(org.apache.openjpa.kernel.OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
throws java.sql.SQLException
Strategy
delete in interface Strategydelete in class AbstractStrategyjava.sql.SQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||