Package org.apache.openjpa.jdbc.meta
Class StrategyInstaller
- java.lang.Object
-
- org.apache.openjpa.jdbc.meta.StrategyInstaller
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MappingStrategyInstaller
,NoneStrategyInstaller
,RefreshStrategyInstaller
,RuntimeStrategyInstaller
public abstract class StrategyInstaller extends java.lang.Object implements java.io.Serializable
Installs mapping strategies.- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MappingRepository
repos
-
Constructor Summary
Constructors Constructor Description StrategyInstaller(MappingRepository repos)
Constructor; supply repository.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
installStrategy(ClassMapping cls)
Install a strategy on the given mapping.abstract void
installStrategy(Discriminator discrim)
Install a strategy on the given mapping.abstract void
installStrategy(FieldMapping fm)
Install a strategy on the given mapping.abstract void
installStrategy(Version version)
Install a strategy on the given mapping.boolean
isAdapting()
Return whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly.
-
-
-
Field Detail
-
repos
protected final MappingRepository repos
-
-
Constructor Detail
-
StrategyInstaller
public StrategyInstaller(MappingRepository repos)
Constructor; supply repository.
-
-
Method Detail
-
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.
-
-