|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.meta.StrategyInstaller org.apache.openjpa.jdbc.meta.MappingStrategyInstaller
public class MappingStrategyInstaller
Installer used during mapping that attempts to use the given mapping information (if any), and fails if it does not work.
Field Summary |
---|
Fields inherited from class org.apache.openjpa.jdbc.meta.StrategyInstaller |
---|
conf, repos |
Constructor Summary | |
---|---|
MappingStrategyInstaller(MappingRepository repos)
Constructor; supply configuration. |
Method Summary | |
---|---|
void |
installStrategy(ClassMapping cls)
Install a strategy on the given mapping. |
void |
installStrategy(Discriminator discrim)
Install a strategy on the given mapping. |
void |
installStrategy(FieldMapping field)
Install a strategy on the given mapping. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingStrategyInstaller(MappingRepository repos)
Method Detail |
---|
public boolean isAdapting()
StrategyInstaller
isAdapting
in class StrategyInstaller
public void installStrategy(ClassMapping cls)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(FieldMapping field)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(Version version)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(Discriminator discrim)
StrategyInstaller
installStrategy
in class StrategyInstaller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |