unity.extractor
Class AnnotatedExtractor
java.lang.Object
unity.extractor.AnnotatedExtractor
public class AnnotatedExtractor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedExtractor
public AnnotatedExtractor()
setOutputArea
public void setOutputArea(javax.swing.JTextArea a)
setDatabaseName
public void setDatabaseName(java.lang.String n)
extract
public void extract(java.sql.Connection c)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createAnnotatedSourceTables
public java.util.HashMap createAnnotatedSourceTables(java.sql.Connection con,
boolean access)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createFields
public java.util.HashMap createFields(java.lang.String schemaName,
java.lang.String tableName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createPrimaryKey
public AnnotatedSourceKey createPrimaryKey(java.lang.String tableName,
java.util.HashMap fields)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createForeignKeys
public java.util.ArrayList createForeignKeys(java.lang.String tableName,
java.util.HashMap fields,
AnnotatedSourceTable st)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createPrimaryKeyAccess
public AnnotatedSourceKey createPrimaryKeyAccess(java.lang.String tableName,
java.util.HashMap fields)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
exportXML
public void exportXML(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
exportXML
public void exportXML(java.io.PrintWriter pw)
throws java.io.IOException
- Throws:
java.io.IOException