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.
|
java.lang.Object |
MappingDefaults.getDiscriminatorValue(Discriminator disc,
boolean adapt) |
Return the default discriminator value for the given instance.
|
java.lang.Object |
MappingDefaultsImpl.getDiscriminatorValue(Discriminator disc,
boolean adapt) |
Provides a default value for the given Discriminator.
|
java.lang.Object |
NoneMappingDefaults.getDiscriminatorValue(Discriminator disc,
boolean adapt) |
|
Index |
DiscriminatorMappingInfo.getIndex(Discriminator discrim,
Column[] cols,
boolean adapt) |
Return the index to set on the discriminator columns, or null if none.
|
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.
|
Index |
MappingDefaultsImpl.getIndex(Discriminator disc,
Table table,
Column[] cols) |
|
Index |
NoneMappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols) |
|
java.lang.Object |
MappingDefaults.getStrategy(Discriminator disc,
boolean adapt) |
Default discriminator mapping strategy when there is no explicit
strategy.
|
java.lang.Object |
MappingDefaultsImpl.getStrategy(Discriminator disc,
boolean adapt) |
|
java.lang.Object |
NoneMappingDefaults.getStrategy(Discriminator disc,
boolean adapt) |
|
java.lang.Object |
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(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.
|
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.
|