Uses of Interface
org.apache.openjpa.jdbc.meta.DiscriminatorStrategy
-
Packages that use DiscriminatorStrategy Package Description org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategies -
-
Uses of DiscriminatorStrategy in org.apache.openjpa.jdbc.meta
Classes in org.apache.openjpa.jdbc.meta that implement DiscriminatorStrategy Modifier and Type Class Description class
Discriminator
Handles determining the object class of database records.Methods in org.apache.openjpa.jdbc.meta that return DiscriminatorStrategy Modifier and Type Method 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.DiscriminatorStrategy
Discriminator. getStrategy()
The strategy used for class discrimination.protected DiscriminatorStrategy
MappingRepository. instantiateDiscriminatorStrategy(java.lang.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.Methods in org.apache.openjpa.jdbc.meta with parameters of type DiscriminatorStrategy Modifier and Type Method Description void
Discriminator. setStrategy(DiscriminatorStrategy strategy, java.lang.Boolean adapt)
The strategy used for class discrimination. -
Uses of DiscriminatorStrategy in org.apache.openjpa.jdbc.meta.strats
Classes in org.apache.openjpa.jdbc.meta.strats that implement DiscriminatorStrategy Modifier and Type Class Description class
AbstractDiscriminatorStrategy
No-op strategy for easy extension.class
ClassNameDiscriminatorStrategy
Stores the class name along with each database object record.class
InValueDiscriminatorStrategy
Base discriminator strategy that determines the class of database records using a column holding a value mapped to a class, and limits SELECTs using an IN (...) statement.class
NoneDiscriminatorStrategy
No-op Discriminator strategy.class
SubclassJoinDiscriminatorStrategy
Discriminator strategy that outer joins to all possible subclass tables to determine the class of an instance.class
SuperclassDiscriminatorStrategy
Discriminator strategy that delegates to superclass discriminator.class
ValueMapDiscriminatorStrategy
Maps metadata-given values to classes.
-