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.
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 classifierassEnd
- the name of the association end
- Returns:
- a List that contains guides to to the specified association end from the classifier
- See Also:
Guide
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.