Dresden OCL Toolkit

tudresden.ocl.sql.gui
Class StrategyManager

java.lang.Object
  extended bytudresden.ocl.sql.gui.StrategyManager

public class StrategyManager
extends Object

a class managing all object-relational Mapping strategies every mapping strategy must have a StrategyCreator providing a description and a View for input of necessary data. StrategyCreators are arranged by StrategyTypes as defined in tudresden.ocl.sql.ORMappingImpl

Author:
Andrea Kling
See Also:
StrategyCreator, ORMappingImpl

Field Summary
private static StrategyManager myInstance
           
private  Hashtable strategies
           
 
Constructor Summary
private StrategyManager()
           
 
Method Summary
static StrategyManager getInstance()
           
 List getSQLBuilders()
           
 List getStrategies(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myInstance

private static StrategyManager myInstance

strategies

private Hashtable strategies
Constructor Detail

StrategyManager

private StrategyManager()
Method Detail

getInstance

public static StrategyManager getInstance()

getStrategies

public List getStrategies(String type)
Returns:
a List of StrategyCreator according to Type
See Also:
ORMappingImpl

getSQLBuilders

public List getSQLBuilders()
Returns:
a List of available SQLBuilders
See Also:
SQLBuilder

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.