tudresden.ocl.sql.gui
Class SimpleTypeMappingCreator
java.lang.Object
tudresden.ocl.sql.gui.SimpleTypeMappingCreator
- All Implemented Interfaces:
- DatatypeStrategyCreator, StrategyCreator
- public class SimpleTypeMappingCreator
- extends Object
- implements DatatypeStrategyCreator
A Creator for SimpleTapeMapping-DatatypeStrategies
- Author:
- Andrea Kling
- See Also:
SimpleTypeMapping
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private String type
SimpleTypeMappingCreator
public SimpleTypeMappingCreator(String type)
setAdditionalDatatypes
public void setAdditionalDatatypes(List classNames)
- Description copied from interface:
DatatypeStrategyCreator
- use this method to make additional datatypes as for instance classes defined
in the model known to the Creator
- Specified by:
setAdditionalDatatypes
in interface DatatypeStrategyCreator
- Parameters:
classNames
- a List of String with additional valid datatypes
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 element that shall be mapped with the Strategy
- Returns:
- a component making all necessary input for the creation
of the Strategy available (null if no data is needed)
getStrategy
public Object getStrategy()
- Specified by:
getStrategy
in interface StrategyCreator
- Returns:
- a tudresden.ocl.sql.orstrategy.SimpleTypeMapping for type
- See Also:
SimpleTypeMapping
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.