Dresden OCL Toolkit

tudresden.ocl.sql.orstrategy
Interface KeyStrategy

All Known Implementing Classes:
KeyChooser, OIDKeyMapping

public interface KeyStrategy

an interface for object-relational mapping strategies as used by ORMappingImpl a KeyStrategy defines the way the Primary Key of the Tables of a Classifier is chosen

Author:
Andrea Kling
See Also:
ORMappingImpl

Method Summary
 void map(ru.novosoft.uml.foundation.core.MClassifier classifier, Map classToTables, Map classViews)
          Defines the primary key for all tables this classifier was mapped to.
 

Method Detail

map

public void map(ru.novosoft.uml.foundation.core.MClassifier classifier,
                Map classToTables,
                Map classViews)
Defines the primary key for all tables this classifier was mapped to. Structure of classToTables: MClassifier -> List of Table the first Table listed gets the primary key other class tables refer to

Parameters:
classifier - the class, whose primary key shall be set
classToTables - a List of Table for each class mapped.
classViews - contains an ObjectView for every MClassifier
See Also:
ObjectView, Table

Dresden OCL Toolkit

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