org.devaki.nextobjects.util
Class DatabaseLoader

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

public final class DatabaseLoader
extends java.lang.Object

This class is responsible for starting tghe right torque task against a database,then parse and load the obtained project-schema.xml

Author:
Emmanuel Florent

Method Summary
static void fixIt(PhysicalModel pdm)
          Move the component so they are all visibles
static void loadDB(PhysicalModel pdm)
          Load the database
static void loadProjectSchema(org.w3c.dom.Document doc, PhysicalModel pdm)
          Load a physical data model from a ${project}-schema document
static void loadProjectSchema(java.io.File in, PhysicalModel pdm)
          Load a physical data model from a ${project}-schema document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadDB

public static void loadDB(PhysicalModel pdm)
Load the database

Parameters:
pdm - the model to load

loadProjectSchema

public static void loadProjectSchema(java.io.File in,
                                     PhysicalModel pdm)
Load a physical data model from a ${project}-schema document

Parameters:
in - the file to load
pdm - the physical model

loadProjectSchema

public static void loadProjectSchema(org.w3c.dom.Document doc,
                                     PhysicalModel pdm)
Load a physical data model from a ${project}-schema document

Parameters:
doc - the DOM document
pdm - the physical model

fixIt

public static void fixIt(PhysicalModel pdm)
Move the component so they are all visibles

Parameters:
pdm - the Physical Model


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