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, supportsEagerSelectcustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, updatepublic 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 Object getNullIndicatorValue(OpenJPAStateManager sm)
public boolean indicatesNull(Object val)
public 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.