public class EmbeddedClassStrategy extends AbstractClassStrategy
cls
Constructor and Description |
---|
EmbeddedClassStrategy() |
Modifier and Type | Method and Description |
---|---|
Object |
getNullIndicatorValue(OpenJPAStateManager sm)
Return the proper synthetic null indicator value for the given instance.
|
boolean |
indicatesNull(Object val)
Return whether the given null indicator value means the object is null.
|
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, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
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 Object getNullIndicatorValue(OpenJPAStateManager sm)
public boolean indicatesNull(Object val)
public 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.