org.devaki.nextobjects.util
Class MeriseTransform

java.lang.Object
  extended byorg.devaki.nextobjects.util.MeriseTransform

public final class MeriseTransform
extends java.lang.Object

The class responsible of all the CDM2PDM work.

Author:
Emmanuel Florent, gregorybr@users.sourceforge.net
See Also:
http://www.devaki.org/transformation.html

Method Summary
static PhysicalModel cdm2pdm(ConceptualModel pConceptualModel)
          Generate a PDM from the current CDM *
static int getCardType(Association theAssociation)
          return the type of the relation (11,1N,1N) so we know wich Merise rule to apply for a given association (cardinalities) card_is 01 11 0N 1N (right) is_card -------------------------------- 01 | 11 11 1N 1N 11 | 11 11 1N 1N 0N | 1N 1N NM NM 1N | 1N 1N NM NM (left)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cdm2pdm

public static PhysicalModel cdm2pdm(ConceptualModel pConceptualModel)
Generate a PDM from the current CDM *

Parameters:
pConceptualModel - the context model
Returns:
the physical model

getCardType

public static int getCardType(Association theAssociation)
return the type of the relation (11,1N,1N) so we know wich Merise rule to apply for a given association (cardinalities) card_is 01 11 0N 1N (right) is_card -------------------------------- 01 | 11 11 1N 1N 11 | 11 11 1N 1N 0N | 1N 1N NM NM 1N | 1N 1N NM NM (left)

Parameters:
theAssociation - the association to indentify
Returns:
the card type


Copyright © 2002-2004 devaki.org. All Rights Reserved.