tudresden.ocl.sql.gui
Class ClassTypeMappingCreator
java.lang.Object
tudresden.ocl.sql.gui.ClassTypeMappingCreator
- All Implemented Interfaces:
- DatatypeStrategyCreator, StrategyCreator
- public class ClassTypeMappingCreator
- extends Object
- implements DatatypeStrategyCreator
StrategyCreator for ClassTypeMapping
- Author:
- Andrea Kling
- See Also:
ClassTypeMapping
Field Summary |
private ru.novosoft.uml.foundation.core.MClassifier |
type
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private ru.novosoft.uml.foundation.core.MClassifier type
ClassTypeMappingCreator
public ClassTypeMappingCreator(ru.novosoft.uml.foundation.core.MClassifier type)
- Parameters:
type
- the MClassifier that is used as attribute type for
ClassTypeMappings created by this creator
setAdditionalDatatypes
public void setAdditionalDatatypes(List classNames)
- empty implementation of the DatatypeStrategy interface
- Specified by:
setAdditionalDatatypes
in interface DatatypeStrategyCreator
- Parameters:
classNames
- a List of String with additional valid datatypes
getStrategyType
public String getStrategyType()
- type of the Strategy created according to types defined in
ORMappingImpl
- 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:
- null as no data is needed
getStrategy
public Object getStrategy()
- Specified by:
getStrategy
in interface StrategyCreator
- Returns:
- a ClassTypeMappping for the type provided by the constructor
- See Also:
ClassTypeMapping
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.