|
Dresden OCL Toolkit | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttudresden.ocl.sql.ORMappingSchemeImp
An implementation of the ORMappingScheme interface. It uses an implementation of the ORMapping interface to query object relational mapping information and provides these information to the SQLCodegenerator with help of the appropriate structures.
ORMappingScheme,
SQLCodeGenerator,
MappedClass,
ORMapping| Field Summary | |
(package private) Map |
classifiersToMappedClasses
Maps classifiers to MappedClass objects. |
(package private) ORMapping |
theORM
|
| Constructor Summary | |
ORMappingSchemeImp(ORMapping orm)
Call this constructor to create an instance of ORMappingSchemeImp. |
|
| Method Summary | |
private void |
createMappedClasses()
Creates a MappedClass object for each classifier and fills it with the according tables that already contain the attribute information. |
private void |
createMappedClassLinks()
Creates all necessary links between MappedClass objects. |
MappedClass |
getMappedClass(String name)
|
private void |
insertQueryMethodes()
Inserts information about query methodes contained by the classes in the class model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ORMapping theORM
Map classifiersToMappedClasses
| Constructor Detail |
public ORMappingSchemeImp(ORMapping orm)
throws IllegalArgumentException
orm - an implementation of the ORMapping interface
IllegalArgumentException - if orm is null| Method Detail |
public MappedClass getMappedClass(String name)
getMappedClass in interface ORMappingSchemename - the name of an application type
private void createMappedClasses()
private void createMappedClassLinks()
private void insertQueryMethodes()
|
Dresden OCL Toolkit | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||