Dresden OCL Toolkit

tudresden.ocl.sql.orstrategy
Class OrderColumnMapping

java.lang.Object
  extended bytudresden.ocl.sql.orstrategy.OrderColumnMapping
All Implemented Interfaces:
OrderedStrategy

public class OrderColumnMapping
extends Object
implements OrderedStrategy

mapping Strategy for ordered Associationends adds a sequence column to the main table of the associationend type

Author:
Andrea Kling

Field Summary
private static OrderColumnMapping myInstance
           
 
Constructor Summary
private OrderColumnMapping()
           
 
Method Summary
static OrderColumnMapping getInstance()
           
 void map(ru.novosoft.uml.foundation.core.MAssociationEnd end, Map classToTables, Map associationTables, Map classViews)
          adds an order column to the main table of the associationend type
 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 OrderColumnMapping myInstance
Constructor Detail

OrderColumnMapping

private OrderColumnMapping()
Method Detail

getInstance

public static OrderColumnMapping getInstance()

map

public void map(ru.novosoft.uml.foundation.core.MAssociationEnd end,
                Map classToTables,
                Map associationTables,
                Map classViews)
adds an order column to the main table of the associationend type

Specified by:
map in interface OrderedStrategy
Parameters:
end - the ordered association end
classToTables - contains a List of Table for every MClassifier the first Table in List is used as main table
classViews - contains an ObjectView for every MClassifier
See Also:
Table, ObjectView

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.