|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Discriminator | |
---|---|
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata |
org.apache.openjpa.jdbc.meta.strats | OpenJPA-JDBC ORM Strategies |
org.apache.openjpa.persistence.jdbc | OpenJPA JPA-JDBC |
Uses of Discriminator in org.apache.openjpa.jdbc.meta |
---|
Methods in org.apache.openjpa.jdbc.meta that return Discriminator | |
---|---|
Discriminator |
ClassMapping.getDiscriminator()
The class discriminator. |
protected Discriminator |
MappingRepository.newDiscriminator(ClassMapping cls)
Create discriminator metadata for the given class. |
Methods in org.apache.openjpa.jdbc.meta with parameters of type Discriminator | |
---|---|
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. |
abstract void |
StrategyInstaller.installStrategy(Discriminator discrim)
Install a strategy on the given mapping. |
void |
RuntimeStrategyInstaller.installStrategy(Discriminator discrim)
|
void |
RefreshStrategyInstaller.installStrategy(Discriminator discrim)
|
void |
NoneStrategyInstaller.installStrategy(Discriminator discrim)
|
void |
MappingStrategyInstaller.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 |
DiscriminatorStrategy.setDiscriminator(Discriminator owner)
Set the Discriminator that uses this strategy. |
void |
Discriminator.setDiscriminator(Discriminator owner)
|
void |
DiscriminatorMappingInfo.syncWith(Discriminator disc)
Synchronize internal information with the mapping data for the given discriminator. |
Uses of Discriminator in org.apache.openjpa.jdbc.meta.strats |
---|
Fields in org.apache.openjpa.jdbc.meta.strats declared as Discriminator | |
---|---|
protected Discriminator |
AbstractDiscriminatorStrategy.disc
The owning discriminator. |
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type Discriminator | |
---|---|
void |
NoneDiscriminatorStrategy.setDiscriminator(Discriminator owner)
|
void |
AbstractDiscriminatorStrategy.setDiscriminator(Discriminator owner)
|
Uses of Discriminator in org.apache.openjpa.persistence.jdbc |
---|
Methods in org.apache.openjpa.persistence.jdbc with parameters of type Discriminator | |
---|---|
Object |
PersistenceMappingDefaults.getStrategy(Discriminator disc,
boolean adapt)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |