gpl.fredy.generate
Class GenerateForm

java.lang.Object
  extended by gpl.fredy.generate.GenerateForm

public class GenerateForm
extends java.lang.Object


Constructor Summary
GenerateForm(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String schema, java.lang.String file, java.lang.String appDir)
           
GenerateForm(t_connect con, java.lang.String schema, java.lang.String file, java.lang.String appDir)
           
 
Method Summary
 java.lang.String getApplicationsDirectory()
           
 t_connect getCon()
          Get the value of con.
 java.lang.String getDatabase()
           
 java.lang.String getHost()
          Get the value of host.
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getPrimaryKeys()
           
 java.lang.String getSchema()
          Get the value of schema.
 java.lang.String getTable()
           
 java.lang.String getUser()
          Get the value of user.
static void main(java.lang.String[] args)
           
 void setApplicationsDirectory(java.lang.String v)
           
 void setCon(t_connect v)
          Set the value of con.
 void setDatabase(java.lang.String v)
           
 void setHost(java.lang.String v)
          Set the value of host.
 void setPassword(java.lang.String v)
          Set the value of password.
 void setPrimaryKeys(java.lang.String v)
           
 void setSchema(java.lang.String v)
          Set the value of schema.
 void setTable(java.lang.String v)
           
 void setUser(java.lang.String v)
          Set the value of user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateForm

public GenerateForm(java.lang.String host,
                    java.lang.String user,
                    java.lang.String password,
                    java.lang.String schema,
                    java.lang.String file,
                    java.lang.String appDir)
Parameters:
file - Name of the XML-file containing the DB-description
appDir - TOP-Level Directory where to save the source files [directory]/applications/[DatabaseName]

GenerateForm

public GenerateForm(t_connect con,
                    java.lang.String schema,
                    java.lang.String file,
                    java.lang.String appDir)
Method Detail

setApplicationsDirectory

public void setApplicationsDirectory(java.lang.String v)

getApplicationsDirectory

public java.lang.String getApplicationsDirectory()

getCon

public t_connect getCon()
Get the value of con.

Returns:
value of con.

setCon

public void setCon(t_connect v)
Set the value of con.

Parameters:
v - Value to assign to con.

getHost

public java.lang.String getHost()
Get the value of host.

Returns:
value of host.

setHost

public void setHost(java.lang.String v)
Set the value of host.

Parameters:
v - Value to assign to host.

getUser

public java.lang.String getUser()
Get the value of user.

Returns:
value of user.

setUser

public void setUser(java.lang.String v)
Set the value of user.

Parameters:
v - Value to assign to user.

getPassword

public java.lang.String getPassword()
Get the value of password.

Returns:
value of password.

setPassword

public void setPassword(java.lang.String v)
Set the value of password.

Parameters:
v - Value to assign to password.

getSchema

public java.lang.String getSchema()
Get the value of schema.

Returns:
value of schema.

setSchema

public void setSchema(java.lang.String v)
Set the value of schema.

Parameters:
v - Value to assign to schema.

setTable

public void setTable(java.lang.String v)

getTable

public java.lang.String getTable()

setPrimaryKeys

public void setPrimaryKeys(java.lang.String v)

getPrimaryKeys

public java.lang.String getPrimaryKeys()

setDatabase

public void setDatabase(java.lang.String v)

getDatabase

public java.lang.String getDatabase()

main

public static void main(java.lang.String[] args)