tudresden.ocl.sql.gui
Class KeyChooserCreator
java.lang.Object
tudresden.ocl.sql.gui.KeyChooserCreator
- All Implemented Interfaces:
- StrategyCreator
- public class KeyChooserCreator
- extends Object
- implements StrategyCreator
a Creator for KeyChooser-KeyStrategies
- Author:
- Andrea Kling
- See Also:
KeyChooser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myInstance
private static KeyChooserCreator myInstance
strategy
private Object strategy
KeyChooserCreator
private KeyChooserCreator()
getInstance
public static KeyChooserCreator getInstance()
getStrategyType
public String getStrategyType()
- Specified by:
getStrategyType
in interface StrategyCreator
- Returns:
- the Type of Strategy according to Types defined in ORMappingImpl
- See Also:
ORMappingImpl
getStrategyDescription
public String getStrategyDescription()
- Specified by:
getStrategyDescription
in interface StrategyCreator
- Returns:
- a short description of the mapping method
getStrategyView
public JComponent getStrategyView(ru.novosoft.uml.MBase element)
- Specified by:
getStrategyView
in interface StrategyCreator
- Parameters:
element
- the MClassifier that shall be provided with a primary key
- Returns:
- a component making all necessary input for the creation
of the Strategy available
getStrategy
public Object getStrategy()
- Specified by:
getStrategy
in interface StrategyCreator
- Returns:
- the KeyChooser strategy for the data provided by the view
null if not enough data was provided
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.