Uses of Class
org.apache.openjpa.jdbc.meta.Discriminator
Package
Description
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA JPA-JDBC
-
Uses of Discriminator in org.apache.openjpa.jdbc.kernel.exps
-
Uses of Discriminator in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionClassMapping.getDiscriminator()
The class discriminator.protected Discriminator
MappingRepository.newDiscriminator
(ClassMapping cls) Create discriminator metadata for the given class.Modifier and TypeMethodDescriptionprotected 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.MappingDefaults.getDiscriminatorValue
(Discriminator disc, boolean adapt) Return the default discriminator value for the given instance.MappingDefaultsImpl.getDiscriminatorValue
(Discriminator disc, boolean adapt) Provides a default value for the given Discriminator.NoneMappingDefaults.getDiscriminatorValue
(Discriminator disc, boolean adapt) DiscriminatorMappingInfo.getIndex
(Discriminator discrim, Column[] cols, boolean adapt) Return the index to set on the discriminator columns, or null if none.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.MappingDefaultsImpl.getIndex
(Discriminator disc, Table table, Column[] cols) NoneMappingDefaults.getIndex
(Discriminator disc, Table table, Column[] cols) MappingDefaults.getStrategy
(Discriminator disc, boolean adapt) Default discriminator mapping strategy when there is no explicit strategy.MappingDefaultsImpl.getStrategy
(Discriminator disc, boolean adapt) NoneMappingDefaults.getStrategy
(Discriminator disc, boolean adapt) DiscriminatorMappingInfo.getValue
(Discriminator discrim, boolean adapt) Return the discriminator value as an object of the right type.void
MappingStrategyInstaller.installStrategy
(Discriminator discrim) void
NoneStrategyInstaller.installStrategy
(Discriminator discrim) void
RefreshStrategyInstaller.installStrategy
(Discriminator discrim) void
RuntimeStrategyInstaller.installStrategy
(Discriminator discrim) abstract void
StrategyInstaller.installStrategy
(Discriminator discrim) Install a strategy on the given mapping.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
MappingDefaults.populateColumns
(Discriminator disc, Table table, Column[] cols) Fill in default information for the given discriminator columns.void
MappingDefaultsImpl.populateColumns
(Discriminator disc, Table table, Column[] cols) void
NoneMappingDefaults.populateColumns
(Discriminator disc, Table table, Column[] cols) 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. -
Uses of Discriminator in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeFieldDescriptionprotected Discriminator
AbstractDiscriminatorStrategy.disc
The owning discriminator.Modifier and TypeMethodDescriptionvoid
AbstractDiscriminatorStrategy.setDiscriminator
(Discriminator owner) void
NoneDiscriminatorStrategy.setDiscriminator
(Discriminator owner) -
Uses of Discriminator in org.apache.openjpa.persistence.jdbc
Modifier and TypeMethodDescriptionPersistenceMappingDefaults.getStrategy
(Discriminator disc, boolean adapt)