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:
java.io.Serializable
,ClassStrategy
,Strategy
public class ObjectIdClassStrategy extends AbstractClassStrategy
Class mapping for embedded object id fields.- Author:
- Abe White
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractClassStrategy
cls
-
-
Constructor Summary
Constructors Constructor Description ObjectIdClassStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
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
-
-