Dresden OCL Toolkit

tudresden.ocl.sql.orstrategy
Interface ClassStrategy

All Known Implementing Classes:
ClassSplitter, SimpleClassToTableMapping

public interface ClassStrategy

An Interface for object-relational mapping Strategies as used by ORMappingImpl this Interface is used mapping classifiers to Tables

See Also:
ORMappingImpl

Method Summary
 void map(ru.novosoft.uml.foundation.core.MClassifier classifier, Map classToTables, Map classViews)
          maps the given class to relational tables Structure of classToTables: MClassifier -> List of Table the first table in a class's list is the most important one, the one containing the primary key, other class tables will refer to
 

Method Detail

map

public void map(ru.novosoft.uml.foundation.core.MClassifier classifier,
                Map classToTables,
                Map classViews)
maps the given class to relational tables Structure of classToTables: MClassifier -> List of Table the first table in a class's list is the most important one, the one containing the primary key, other class tables will refer to

Parameters:
classifier - the class(or interface) to map
classToTables - a Map containing all MClassifiers mapped so far to a List of Tables
classViews - a Map containing an (unfinished) ObjectView for all MClassifiers mapped so far

Dresden OCL Toolkit

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