Class StrategyInstaller

java.lang.Object
org.apache.openjpa.jdbc.meta.StrategyInstaller
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MappingStrategyInstaller, NoneStrategyInstaller, RefreshStrategyInstaller, RuntimeStrategyInstaller

public abstract class StrategyInstaller extends Object implements Serializable
Installs mapping strategies.
Since:
0.4.0
Author:
Abe White
See Also:
  • Field Details

  • Constructor Details

    • StrategyInstaller

      public StrategyInstaller(MappingRepository repos)
      Constructor; supply repository.
  • Method Details

    • isAdapting

      public boolean isAdapting()
      Return whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly.
    • installStrategy

      public abstract void installStrategy(ClassMapping cls)
      Install a strategy on the given mapping.
    • installStrategy

      public abstract void installStrategy(FieldMapping fm)
      Install a strategy on the given mapping.
    • installStrategy

      public abstract void installStrategy(Version version)
      Install a strategy on the given mapping.
    • installStrategy

      public abstract void installStrategy(Discriminator discrim)
      Install a strategy on the given mapping.