Dresden OCL Toolkit

tudresden.ocl.sql.orstrategy
Class NaturalOrderMapping

java.lang.Object
  extended bytudresden.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

Field Summary
private static NaturalOrderMapping myInstance
           
 
Constructor Summary
private NaturalOrderMapping()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myInstance

private static NaturalOrderMapping myInstance
Constructor Detail

NaturalOrderMapping

private NaturalOrderMapping()
Method Detail

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 end
classToTables - contains a List of Table for every MClassifier mapped so far
classViews - contains an ObjectView for every MClassifier
See Also:
ObjectView, Table

toString

public String toString()
a short description of the strategy


Dresden OCL Toolkit

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