Package generalDatabase
Class DBSchemaWriter
java.lang.Object
generalDatabase.DBSchemaWriter
Functions for writing database table schema in a format
compatible with the Tethys schemas.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateDatabaseSchema
(PamDataBlock dataBlock, SQLLogging logging, EmptyTableDefinition tableDef) Generate an xml schema for a datablock.boolean
writeSchema
(File outputFolder, PamDataBlock dataBlock) boolean
writeStandardTableDef
(File outputFolder, PamDataBlock dataBlock)
-
Constructor Details
-
DBSchemaWriter
public DBSchemaWriter()
-
-
Method Details
-
writeStandardTableDef
-
writeSchema
-
generateDatabaseSchema
public Document generateDatabaseSchema(PamDataBlock dataBlock, SQLLogging logging, EmptyTableDefinition tableDef) Generate an xml schema for a datablock.- Parameters:
dataBlock
-logging
-tableDef
-- Returns:
-