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, supportsEagerSelect
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
public static final String ALIAS
public String getAlias()
Strategy
getAlias
in interface Strategy
getAlias
in class AbstractStrategy
public void map(boolean adapt)
Strategy
map
in interface Strategy
map
in class AbstractStrategy
adapt
- 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)
ClassStrategy
isPrimaryKeyObjectId
in interface ClassStrategy
isPrimaryKeyObjectId
in class AbstractClassStrategy
hasAll
- 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.