Class ObjectIdClassStrategy
java.lang.Object
org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy
org.apache.openjpa.jdbc.meta.strats.ObjectIdClassStrategy
- All Implemented Interfaces:
Serializable
,ClassStrategy
,Strategy
Class mapping for embedded object id fields.
- Author:
- Abe White
- See Also:
-
Field Summary
Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy
cls
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
map
(boolean adapt) Map the owning mapping using this strategy.Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy
customLoad, customLoad, customLoad, isPrimaryKeyObjectId, joinSuperclass, setClassMapping, supportsEagerSelect
Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
customDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy
customDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, update
-
Constructor Details
-
ObjectIdClassStrategy
public ObjectIdClassStrategy()
-
-
Method Details
-
map
public void map(boolean adapt) Description copied from interface:Strategy
Map the owning mapping using this strategy.- Specified by:
map
in interfaceStrategy
- Overrides:
map
in classAbstractStrategy
- Parameters:
adapt
- if true, use the owning mapping's raw mapping info to set its ORM data; if false, ORM data will already be set
-