Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.persistence.jdbc |
OpenJPA JPA-JDBC
JDBC-specific extensions to OpenJPA JPA runtime.
|
Modifier and Type | Field and Description |
---|---|
Discriminator[] |
CollectionParam.ParamExpState.disc |
Discriminator |
Param.ParamExpState.disc |
Modifier and Type | Method and Description |
---|---|
Discriminator |
ClassMapping.getDiscriminator()
The class discriminator.
|
protected Discriminator |
MappingRepository.newDiscriminator(ClassMapping cls)
Create discriminator metadata for the given class.
|
Modifier and Type | Method and Description |
---|---|
protected DiscriminatorStrategy |
MappingRepository.defaultStrategy(Discriminator discrim)
Determine the default strategy to use for the given discriminator.
|
protected DiscriminatorStrategy |
MappingRepository.defaultStrategy(Discriminator discrim,
boolean adapting)
Determine the default strategy to use for the given discriminator.
|
Column[] |
DiscriminatorMappingInfo.getColumns(Discriminator discrim,
Column[] tmplates,
boolean adapt)
Return the columns set for this discriminator, based on the given
templates.
|
Object |
NoneMappingDefaults.getDiscriminatorValue(Discriminator disc,
boolean adapt) |
Object |
MappingDefaultsImpl.getDiscriminatorValue(Discriminator disc,
boolean adapt)
Provides a default value for the given Discriminator.
|
Object |
MappingDefaults.getDiscriminatorValue(Discriminator disc,
boolean adapt)
Return the default discriminator value for the given instance.
|
Index |
DiscriminatorMappingInfo.getIndex(Discriminator discrim,
Column[] cols,
boolean adapt)
Return the index to set on the discriminator columns, or null if none.
|
Index |
NoneMappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(Discriminator disc,
Table table,
Column[] cols) |
Index |
MappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols)
Return a default index for the discriminator, or null if the
discriminator columns should not be indexed by default.
|
Object |
NoneMappingDefaults.getStrategy(Discriminator disc,
boolean adapt) |
Object |
MappingDefaultsImpl.getStrategy(Discriminator disc,
boolean adapt) |
Object |
MappingDefaults.getStrategy(Discriminator disc,
boolean adapt)
Default discriminator mapping strategy when there is no explicit
strategy.
|
Object |
DiscriminatorMappingInfo.getValue(Discriminator discrim,
boolean adapt)
Return the discriminator value as an object of the right type.
|
void |
RuntimeStrategyInstaller.installStrategy(Discriminator discrim) |
abstract void |
StrategyInstaller.installStrategy(Discriminator discrim)
Install a strategy on the given mapping.
|
void |
MappingStrategyInstaller.installStrategy(Discriminator discrim) |
void |
NoneStrategyInstaller.installStrategy(Discriminator discrim) |
void |
RefreshStrategyInstaller.installStrategy(Discriminator discrim) |
protected DiscriminatorStrategy |
MappingRepository.instantiateDiscriminatorStrategy(String name,
Discriminator discrim)
Instantiate the given discriminator strategy.
|
protected DiscriminatorStrategy |
MappingRepository.namedStrategy(Discriminator discrim)
Instantiate the given discriminator's named strategy, or return null
if no named strategy.
|
protected DiscriminatorMappingInfo |
MappingRepository.newMappingInfo(Discriminator disc)
Create raw mapping info for the given instance.
|
void |
NoneMappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateColumns(Discriminator disc,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols)
Fill in default information for the given discriminator columns.
|
void |
Discriminator.setDiscriminator(Discriminator owner) |
void |
DiscriminatorStrategy.setDiscriminator(Discriminator owner)
Set the Discriminator that uses this strategy.
|
void |
DiscriminatorMappingInfo.syncWith(Discriminator disc)
Synchronize internal information with the mapping data for the given
discriminator.
|
Modifier and Type | Field and Description |
---|---|
protected Discriminator |
AbstractDiscriminatorStrategy.disc
The owning discriminator.
|
Modifier and Type | Method and Description |
---|---|
void |
NoneDiscriminatorStrategy.setDiscriminator(Discriminator owner) |
void |
AbstractDiscriminatorStrategy.setDiscriminator(Discriminator owner) |
Modifier and Type | Method and Description |
---|---|
Object |
PersistenceMappingDefaults.getStrategy(Discriminator disc,
boolean adapt) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.