|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
jimm.datavision.testdata.SchemaGen
jimm.datavision.testdata.oracle.OracleSchemaGen
public class OracleSchemaGen
| Field Summary |
|---|
| Fields inherited from class jimm.datavision.testdata.SchemaGen |
|---|
isFirstColumn, notNull, primaryKey, size, type |
| Constructor Summary | |
|---|---|
OracleSchemaGen()
|
|
| Method Summary | |
|---|---|
protected void |
endTable()
Outputs the SQL needed to close a create table statement. |
static void |
main(java.lang.String[] args)
|
protected void |
makeTable(java.lang.String tableName)
Outputs the SQL needed to create a database table. |
protected void |
printNotNull()
Prints the SQL that defines a column as NOT NULL. |
protected void |
printPrimaryKey()
Prints the SQL that defines a column as a primary key. |
protected void |
printType(java.lang.String type,
int size)
Prints the SQL that defines a column's type. |
| Methods inherited from class jimm.datavision.testdata.SchemaGen |
|---|
column, endElement, printableName, printColumn, printColumnName, run, startElement, table |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleSchemaGen()
| Method Detail |
|---|
protected void makeTable(java.lang.String tableName)
SchemaGen
makeTable in class SchemaGenprotected void endTable()
SchemaGen
endTable in class SchemaGen
protected void printType(java.lang.String type,
int size)
SchemaGen
printType in class SchemaGenprotected void printNotNull()
SchemaGen
printNotNull in class SchemaGenprotected void printPrimaryKey()
SchemaGen
printPrimaryKey in class SchemaGenpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||