tudresden.ocl.test.sql
Class UniversityExampleSchema
java.lang.Object
tudresden.ocl.test.sql.UniversityExampleSchema
- All Implemented Interfaces:
- ORMapping
- public class UniversityExampleSchema
- extends Object
- implements ORMapping
An example schema to test the ILSQLCodeGenerator.
- Version:
- 1.0
- Author:
- Sten Loecher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classifiersToTables
Map classifiersToTables
UniversityExampleSchema
public UniversityExampleSchema()
- Creates new UniversityExampleSchema
associationEnds
public Map associationEnds(String classifier)
- Specified by:
associationEnds
in interface ORMapping
- Parameters:
classifier
- a classifier
- Returns:
- a Map that maps the names of all association ends to the
according class name
attributes
public Set attributes(String classifier)
- Specified by:
attributes
in interface ORMapping
- Parameters:
classifier
- a classifier
- Returns:
- a Set containing all names of attributes that are properties of the classifier
classifiers
public Set classifiers()
- Specified by:
classifiers
in interface ORMapping
- Returns:
- a Set containing the names of all classifiers
directSupertypeNames
public Set directSupertypeNames(String classifier)
- Specified by:
directSupertypeNames
in interface ORMapping
- Parameters:
classifier
- a classifier
- Returns:
- a Set containing all the names of direct supertypes of the classifier
getClassTables
public List getClassTables(String classifier)
- Specified by:
getClassTables
in interface ORMapping
- Parameters:
classifier
- a classifier
- Returns:
- a List with all table objects the classifier was mapped to
- See Also:
Table
guidesToAssociationEnds
public List guidesToAssociationEnds(String classifier,
String assEnd)
- Specified by:
guidesToAssociationEnds
in interface ORMapping
- 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
operations
public Set operations(String classifier)
- Specified by:
operations
in interface ORMapping
- Parameters:
classifier
- a classifier
- Returns:
- a Set containing all names of operations that are properties of the classifier
tables
public List tables()
- Specified by:
tables
in interface ORMapping
- Returns:
- a List with all table objects created during the object relational mapping
- See Also:
Table
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.