Class DBSchemaWriter

java.lang.Object
generalDatabase.DBSchemaWriter

public class DBSchemaWriter extends Object
Functions for writing database table schema in a format compatible with the Tethys schemas.
Author:
dg50
  • Constructor Details

    • DBSchemaWriter

      public DBSchemaWriter()
  • Method Details

    • writeStandardTableDef

      public boolean writeStandardTableDef(File outputFolder, PamDataBlock dataBlock)
    • writeSchema

      public boolean writeSchema(File outputFolder, PamDataBlock dataBlock)
    • generateDatabaseSchema

      public Document generateDatabaseSchema(PamDataBlock dataBlock, SQLLogging logging, EmptyTableDefinition tableDef)
      Generate an xml schema for a datablock.
      Parameters:
      dataBlock -
      logging -
      tableDef -
      Returns: