Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.event |
OpenJPA Events
This package provides some interfaces and useful implementations
for OpenJPA's event notification framework.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
DataCachePCDataImpl.toNestedData(ValueMetaData vmd,
Object val,
StoreContext ctx) |
Modifier and Type | Method and Description |
---|---|
Object |
ExceptionOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Object |
NoneOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Object |
OrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
Object |
LogOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Modifier and Type | Interface and Description |
---|---|
interface |
ValueMapping
Specialization of value metadata for relational databases.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldMapping
Specialization of metadata for relational databases.
|
class |
ValueMappingImpl
Standalone
ValueMapping implementation. |
Modifier and Type | Method and Description |
---|---|
protected ValueMetaData |
MappingRepository.newValueMetaData(FieldMetaData owner) |
Modifier and Type | Method and Description |
---|---|
void |
ValueMappingImpl.copy(ValueMetaData vmd) |
protected ClassMetaData |
MappingRepository.newEmbeddedClassMetaData(ValueMetaData owner) |
Constructor and Description |
---|
ClassMapping(ValueMetaData vmd)
Embedded constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
DetachedStateManager.attach(AttachManager manager,
Object toAttach,
ClassMetaData meta,
PersistenceCapable into,
OpenJPAStateManager owner,
ValueMetaData ownerMeta,
boolean explicit) |
OpenJPAStateManager |
DelegatingBroker.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
BrokerImpl.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
StoreContext.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta)
Make the given instance embedded.
|
protected Object |
AbstractPCData.toEmbeddedField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data into an embedded PC field value.
|
protected Object |
AbstractPCData.toNestedData(ValueMetaData vmd,
Object val,
StoreContext ctx)
Transform the given nested value to a cachable value.
|
protected Object |
AbstractPCData.toNestedField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data value to its field value.
|
protected Collection |
AbstractPCData.toNestedFields(OpenJPAStateManager sm,
ValueMetaData vmd,
Collection data,
FetchConfiguration fetch,
Object context)
Transform the given data value to its field value.
|
protected Object |
AbstractPCData.toRelationField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data into a relation field value.
|
Constructor and Description |
---|
ObjectIdStateManager(Object oid,
OpenJPAStateManager owner,
ValueMetaData ownerVal)
Constructor; supply embedded object id and its owner.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldMetaData
Metadata for a managed class field.
|
class |
ValueMetaDataImpl
Default
ValueMetaData implementation. |
Modifier and Type | Method and Description |
---|---|
ValueMetaData |
FieldMetaData.getElement()
Metadata about the element value.
|
ValueMetaData |
ClassMetaData.getEmbeddingMetaData()
If this metadata is for an embedded object, returning the owning value.
|
ValueMetaData |
FieldMetaData.getKey()
Metadata about the key value.
|
ValueMetaData |
FieldMetaData.getValue()
MetaData about the field value.
|
protected ValueMetaData |
MetaDataRepository.newValueMetaData(FieldMetaData owner)
Create a new value metadata instance.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
JavaTypes.classForName(String name,
ValueMetaData context)
Check the given name against the same set of standard packages used
when parsing metadata.
|
static Class<?> |
JavaTypes.classForName(String name,
ValueMetaData context,
ClassLoader loader)
Check the given name against the same set of standard packages used
when parsing metadata.
|
static Class<?> |
JavaTypes.classForName(String name,
ValueMetaData context,
ClassLoader loader,
boolean mustExist)
Try to load a class using the provided loader.
|
void |
ValueMetaData.copy(ValueMetaData vmd)
Copy state from the given value to this one.
|
void |
FieldMetaData.copy(ValueMetaData vmd) |
void |
ValueMetaDataImpl.copy(ValueMetaData vmd) |
static boolean |
JavaTypes.maybePC(ValueMetaData val)
Return true if the (possibly unresolved) value might be a first class
object.
|
protected ClassMetaData |
MetaDataRepository.newEmbeddedClassMetaData(ValueMetaData owner)
Create a new embedded class metadata instance.
|
Constructor and Description |
---|
ClassMetaData(ValueMetaData owner)
Embedded constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
XMLPersistenceMetaDataSerializer.isMappingMode(ValueMetaData vmd)
Convenience method for interpreting
XMLPersistenceMetaDataSerializer.getMode() . |
protected boolean |
AnnotationPersistenceMetaDataSerializer.isMappingMode(ValueMetaData vmd)
Convenience method for interpreting
AnnotationPersistenceMetaDataSerializer.getMode() . |
protected void |
XMLPersistenceMetaDataParser.setOrphanRemoval(ValueMetaData vmd,
boolean orphanRemoval) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.