tudresden.ocl.sql.orstrategy
Class SimpleClassToTableMapping
java.lang.Object
tudresden.ocl.sql.orstrategy.SimpleClassToTableMapping
- All Implemented Interfaces:
- ClassStrategy
- public class SimpleClassToTableMapping
- extends Object
- implements ClassStrategy
Maps each class to a single table. this should be the default
mapping strategy for classes.
myInstance
private static SimpleClassToTableMapping myInstance
SimpleClassToTableMapping
private SimpleClassToTableMapping()
getInstance
public static SimpleClassToTableMapping getInstance()
map
public void map(ru.novosoft.uml.foundation.core.MClassifier classifier,
Map classToTables,
Map classViews)
- Assumes that class never was mapped before. If an entry for
classifier is found in the classToTables mapping no mapping
will be done.
- Specified by:
map
in interface ClassStrategy
- Parameters:
classifier
- the class to be mappedclassToTables
- all classes mapped so far. see ClassStrategy for detailsclassViews
- a Map containing an (unfinished) ObjectView for
all MClassifiers mapped so far- See Also:
ClassStrategy
clone
public Object clone()
toString
public String toString()
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.