Dresden OCL Toolkit

tudresden.ocl.sql
Interface ORMapping

All Known Implementing Classes:
ORMappingImp, ORMappingImpl, UniversityExampleSchema

public interface ORMapping

This interface defines some functions that should return informations about the object relational mapping of classes and their properties to a relational schema.


Method Summary
 Map associationEnds(String classifier)
           
 Set attributes(String classifier)
           
 Set classifiers()
           
 Set directSupertypeNames(String classifier)
           
 List getClassTables(String classifier)
           
 List guidesToAssociationEnds(String classifier, String assEnd)
           
 Set operations(String classifier)
           
 List tables()
           
 

Method Detail

tables

public List tables()
Returns:
a List with all table objects created during the object relational mapping
See Also:
Table

getClassTables

public List getClassTables(String classifier)
Parameters:
classifier - a classifier
Returns:
a List with all table objects the classifier was mapped to
See Also:
Table

classifiers

public Set classifiers()
Returns:
a Set containing the names of all classifiers

attributes

public Set attributes(String classifier)
Parameters:
classifier - a classifier
Returns:
a Set containing all names of attributes that are properties of the classifier

operations

public Set operations(String classifier)
Parameters:
classifier - a classifier
Returns:
a Set containing all names of operations that are properties of the classifier

directSupertypeNames

public Set directSupertypeNames(String classifier)
Parameters:
classifier - a classifier
Returns:
a Set containing all the names of direct supertypes of the classifier

associationEnds

public Map associationEnds(String classifier)
Parameters:
classifier - a classifier
Returns:
a Map that maps the names of all association ends to the according class name

guidesToAssociationEnds

public List guidesToAssociationEnds(String classifier,
                                    String assEnd)
Parameters:
classifier - a classifier
assEnd - the name of the association end
Returns:
a List that contains guides to to the specified association end from the classifier
See Also:
Guide

Dresden OCL Toolkit

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