tudresden.ocl.sql.orstrategy
Class SimpleTypeMapping
java.lang.Object
tudresden.ocl.sql.orstrategy.SimpleTypeMapping
- All Implemented Interfaces:
- DatatypeStrategy
- public class SimpleTypeMapping
- extends Object
- implements DatatypeStrategy
DatatypeMappingStrategy exchanging unknown attribute datatypes
for simple datatypes, as for example provided provided by TypeManager
- Author:
- Andrea Kling
- See Also:
TypeManager
Method Summary |
void |
map(ru.novosoft.uml.foundation.core.MAttribute attribute,
Map classToTables,
Map classViews)
allows to have special mappings for certain unknown datatypes
recommended for complex or multiple datatypes |
String |
toString()
a short description of the Strategy,.. |
type
private String type
SimpleTypeMapping
public SimpleTypeMapping(String type)
- Parameters:
type
- the name of the simple datatype tht should be attatcht to any Attribute
map
public void map(ru.novosoft.uml.foundation.core.MAttribute attribute,
Map classToTables,
Map classViews)
- Description copied from interface:
DatatypeStrategy
- allows to have special mappings for certain unknown datatypes
recommended for complex or multiple datatypes
- Specified by:
map
in interface DatatypeStrategy
- Parameters:
attribute
- an Attribute having an unusual datatypeclassToTables
- a Map containing for every MClassifier a List of TableclassViews
- contains an ObjectView for every MClassifier- See Also:
ObjectView
,
MClassifier
toString
public String toString()
- a short description of the Strategy,.. the datatype used
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.