public class TableDef extends Object
| Constructor and Description |
|---|
TableDef(DSD dsd,
StreamTokenizer tokens,
int displayOrder,
boolean isAbstract,
TableNamingStore nameStore)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateJava()
Generate the 4 files.
|
void |
generatePersistentBaseJava(Writer w) |
void |
generatePersistentJava(Writer w) |
void |
generateTableAccessorDefnJava(Writer w) |
void |
generateTableAccessorJava(Writer w) |
void |
generateTableBaseJava(Writer w) |
void |
generateTableDeclarationJava(Writer w) |
void |
generateTableDefinitionJava(Writer w) |
void |
generateTableJava(Writer w) |
public TableDef(DSD dsd, StreamTokenizer tokens, int displayOrder, boolean isAbstract, TableNamingStore nameStore) throws org.melati.poem.prepro.ParsingDSDException, IOException, org.melati.poem.prepro.IllegalityException
dsd - the DSD this is a member oftokens - a stream of tokensdisplayOrder - the ordering within the DSDisAbstract - whether this is an abstract tablenameStore - where to put our namesParsingDSDException - if an unexpected token is encounteredIllegalityException - if a semantic incoherence is detectedIOException - if a problem with the file system is encounteredpublic void generateTableDeclarationJava(Writer w) throws IOException
w - DatabaseBaseIOException - if a problem with the file system is encounteredpublic void generateTableDefinitionJava(Writer w) throws IOException
w - DatabaseBaseIOException - if a problem with the file system is encounteredpublic void generateTableAccessorJava(Writer w) throws IOException
w - DatabaseBaseIOException - if a problem with the file system is encounteredpublic void generateTableAccessorDefnJava(Writer w) throws IOException
w - DatabaseTablesBaseIOException - if a problem with the file system is encounteredpublic void generatePersistentBaseJava(Writer w) throws IOException
w - Persistent Base writerIOException - if a problem with the file system is encounteredpublic void generatePersistentJava(Writer w) throws IOException
w - Persistent writerIOException - if a problem with the file system is encounteredpublic void generateTableBaseJava(Writer w) throws IOException
w - TableBaseIOException - if a problem with the file system is encounteredpublic void generateTableJava(Writer w) throws IOException
w - TableIOException - if a problem with the file system is encounteredpublic void generateJava()
throws IOException,
org.melati.poem.prepro.IllegalityException
IOException - if a problem with the file system is encounteredIllegalityException - if a semantic incoherence is detectedCopyright © 2000–2015 PanEris. All rights reserved.