public class FlatClassStrategy extends AbstractClassStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS |
cls| Constructor and Description |
|---|
FlatClassStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Return the alias of this strategy.
|
boolean |
isPrimaryKeyObjectId(boolean hasAll)
Return true if the this class' primary key columns correspond to the
base class' primary key columns used to construct oid values.
|
void |
map(boolean adapt)
Map the owning mapping using this strategy.
|
customLoad, customLoad, customLoad, joinSuperclass, setClassMapping, supportsEagerSelectcustomDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, updatepublic static final String ALIAS
public String getAlias()
StrategygetAlias in interface StrategygetAlias in class AbstractStrategypublic void map(boolean adapt)
Strategymap in interface Strategymap in class AbstractStrategyadapt - if true, use the owning mapping's raw mapping info
to set its ORM data; if false, ORM data will already be setpublic boolean isPrimaryKeyObjectId(boolean hasAll)
ClassStrategyisPrimaryKeyObjectId in interface ClassStrategyisPrimaryKeyObjectId in class AbstractClassStrategyhasAll - if true, there must be a primary key column for every
base class primary key column; if false the primary key
must only match a subset of the base class primary key columnsCopyright © 2006–2022 Apache Software Foundation. All rights reserved.