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, supportsEagerSelect
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, map
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, map
public static final String ALIAS
public static NoneClassStrategy getInstance()
public String getAlias()
Strategy
getAlias
in interface Strategy
getAlias
in class AbstractStrategy
public void setClassMapping(ClassMapping owner)
ClassStrategy
setClassMapping
in interface ClassStrategy
setClassMapping
in class AbstractClassStrategy
public void insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws SQLException
Strategy
insert
in interface Strategy
insert
in class AbstractStrategy
SQLException
public void update(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws SQLException
Strategy
update
in interface Strategy
update
in class AbstractStrategy
SQLException
Strategy.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
Strategy
delete
in interface Strategy
delete
in class AbstractStrategy
SQLException
Strategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.