|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDBInputParser
This interface defines methods that mus be provided by a database parser of input files
| Method Summary | |
|---|---|
java.lang.Class |
convert2JavaType(java.lang.String type)
Convert the corresponding Java type for a database type |
java.lang.String |
getDatabaseName()
Get the name of the database that is used for initialization of the wizard. |
java.lang.String |
getDefaultHost()
Get the default value for the host for a database product that is used for initialization of the wizard e.g. |
int |
getDefaultPort()
Get the default port number for a database product that is used for initialization of the wizard e.g. '1521'. |
java.lang.String |
getDefaultUser()
Get the default user name for a database product that is used for initialization of the wizard e.g. |
java.lang.String |
getPassword()
Get the password of the database for the user name specified at getDefaultUser() that is used for initialization
of the wizard. |
boolean |
hasSchema()
Indicates if this database works through schemas |
void |
init(java.lang.Object obj)
Initialize the the parser |
DataBaseTable |
parse()
Parse the input file into an object that represents a database table. |
| Methods inherited from interface ch.sahits.codegen.input.IInputParser |
|---|
getFileExtension, getRanking, getWorkload, init, needsDataBaseInformationForCompleetion |
| Method Detail |
|---|
DataBaseTable parse()
parse in interface IInputParserDataBaseTable Bean with the datajava.lang.Class convert2JavaType(java.lang.String type)
type - database type
java.lang.String getDefaultHost()
int getDefaultPort()
java.lang.String getDefaultUser()
java.lang.String getDatabaseName()
java.lang.String getPassword()
getDefaultUser() that is used for initialization
of the wizard. The password may not be specified in
which case an empty string
is returned. The password must not be null.
void init(java.lang.Object obj)
throws java.lang.Exception
obj - some date with which to initialize the data
java.lang.Exceptionboolean hasSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||