public class NoneClassStrategy extends AbstractClassStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS |
cls| Modifier and Type | Method and Description |
|---|---|
void |
delete(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.
|
String |
getAlias()
Return the alias of this strategy.
|
static NoneClassStrategy |
getInstance()
Return the singleton instance.
|
void |
insert(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(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
customLoad, customLoad, customLoad, isPrimaryKeyObjectId, joinSuperclass, supportsEagerSelectcustomDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, mapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, mappublic static final String ALIAS
public static NoneClassStrategy getInstance()
public String getAlias()
StrategygetAlias in interface StrategygetAlias in class AbstractStrategypublic void setClassMapping(ClassMapping owner)
ClassStrategysetClassMapping in interface ClassStrategysetClassMapping in class AbstractClassStrategypublic void insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws SQLException
Strategyinsert in interface Strategyinsert in class AbstractStrategySQLExceptionpublic void update(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws SQLException
Strategyupdate in interface Strategyupdate in class AbstractStrategySQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)public void delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws SQLException
Strategydelete in interface Strategydelete in class AbstractStrategySQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)Copyright © 2006–2017 Apache Software Foundation. All rights reserved.