net.sf.jmd
Class MoDi

java.lang.Object
  extended by net.sf.jmd.MoDi

public class MoDi
extends java.lang.Object

MoDi means ModelDifferences.

The slogan is: Transform! Compare! Communicate! ;o) .

In MoDi we do the following:
  1. set am root
  2. set dm root
  3. let the transformer set up the meta representation
  4. compare the models using the meta representation
  5. return the resulting report


Nested Class Summary
static class MoDi.ImportHandler
           
static class MoDi.Language
           
static class MoDi.PersistenceType
           
static class MoDi.ReportStyle
           
 
Field Summary
static java.lang.String ARCHITECTSMODEL_NAME
           
static java.lang.String DEVELOPERSMODEL_NAME
           
 
Constructor Summary
MoDi()
           
 
Method Summary
 void communicate(IReport report)
           
 IReport evaluate()
           
 void findArchitectsModelFiles(MoDi.ImportHandler importHandler, java.lang.String modelRoot, java.lang.String fileExtension)
           
 void findDevelopersModelFiles(MoDi.ImportHandler importHandler, java.lang.String modelRoot, java.lang.String fileExtension)
           
 java.lang.String getConfigFile()
           
static void main(java.lang.String[] args)
          A Client implementation.
 void report(IReport report, MoDi.ReportStyle reportStyle)
           
 void setConfigFile(java.lang.String fileLocation)
           
 void transformArchitectsModel(MoDi.Language language)
           
 void transformDevelopersModel(MoDi.Language language)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHITECTSMODEL_NAME

public static final java.lang.String ARCHITECTSMODEL_NAME
See Also:
Constant Field Values

DEVELOPERSMODEL_NAME

public static final java.lang.String DEVELOPERSMODEL_NAME
See Also:
Constant Field Values
Constructor Detail

MoDi

public MoDi()
Method Detail

setConfigFile

public void setConfigFile(java.lang.String fileLocation)

getConfigFile

public java.lang.String getConfigFile()

findArchitectsModelFiles

public void findArchitectsModelFiles(MoDi.ImportHandler importHandler,
                                     java.lang.String modelRoot,
                                     java.lang.String fileExtension)
                              throws MoDiException
Throws:
MoDiException

findDevelopersModelFiles

public void findDevelopersModelFiles(MoDi.ImportHandler importHandler,
                                     java.lang.String modelRoot,
                                     java.lang.String fileExtension)
                              throws MoDiException
Throws:
MoDiException

transformArchitectsModel

public void transformArchitectsModel(MoDi.Language language)
                              throws MoDiException
Throws:
MoDiException

transformDevelopersModel

public void transformDevelopersModel(MoDi.Language language)
                              throws MoDiException
Throws:
MoDiException

evaluate

public IReport evaluate()

report

public void report(IReport report,
                   MoDi.ReportStyle reportStyle)

communicate

public void communicate(IReport report)
                 throws MoDiException,
                        org.apache.commons.mail.EmailException
Throws:
MoDiException
org.apache.commons.mail.EmailException

main

public static void main(java.lang.String[] args)
A Client implementation.

Parameters:
args - The parameters are not used.

usage

public static void usage()


Copyright © 2007-2010. All Rights Reserved.