tudresden.ocl.sql.orstrategy
Class NaturalOrderMapping
java.lang.Object
tudresden.ocl.sql.orstrategy.NaturalOrderMapping
- All Implemented Interfaces:
- OrderedStrategy
- public class NaturalOrderMapping
- extends Object
- implements OrderedStrategy
a mapping strategy for ordered association ends
assumes ordering is kept by already existing attribute
associations if neccesary.
- Author:
- Andrea Kling
Method Summary |
static NaturalOrderMapping |
getInstance()
|
void |
map(ru.novosoft.uml.foundation.core.MAssociationEnd end,
Map classToTables,
Map associationTables,
Map classViews)
assumes ordering is kept by already existing attribute
associations if neccesary. |
String |
toString()
a short description of the strategy |
myInstance
private static NaturalOrderMapping myInstance
NaturalOrderMapping
private NaturalOrderMapping()
getInstance
public static NaturalOrderMapping getInstance()
map
public void map(ru.novosoft.uml.foundation.core.MAssociationEnd end,
Map classToTables,
Map associationTables,
Map classViews)
- assumes ordering is kept by already existing attribute
associations if neccesary.
- Specified by:
map
in interface OrderedStrategy
- Parameters:
end
- an ordered or sorted association endclassToTables
- contains a List of Table for every MClassifier mapped so farclassViews
- contains an ObjectView for every MClassifier- See Also:
ObjectView
,
Table
toString
public String toString()
- a short description of the strategy
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.