ch.sahits.model
Interface IOutputFileModelBuilder

All Superinterfaces:
IBuilder<IOutputFileModel>

public interface IOutputFileModelBuilder
extends IBuilder<IOutputFileModel>

This interface defines the methods needed to be defined by a builder for an IOutputFileModel

Since:
1.2.0
Author:
Andi Hotz, Sahits GmbH

Method Summary
 IOutputFileModelBuilder databaseName(java.lang.String val)
          Initialize the database name
 IOutputFileModelBuilder databaseProduct(java.lang.String val)
          Initialize the databaseProduct
 IOutputFileModelBuilder dbDefinitionPage(IBasicDBDefinitionPage val)
          Initialize the dbDefinitionPage
 IOutputFileModelBuilder fileName(java.lang.String val)
          Initialize the fileName
 IOutputFileModelBuilder generationClass(java.lang.Class<?> val)
          Initialize the generationClass
 IOutputFileModelBuilder generatorBundle(java.lang.String val)
          Initialize the generatorBundle
 IOutputFileModelBuilder generatorJETemplate(java.lang.String val)
          Initialize the generatorJETemplate
 java.lang.String getDatabaseProduct()
          Retrieve the name of the database product (vendor)
 java.lang.String getDBHost()
          Retreive the database host
 java.lang.String getDBName()
          Retrieve the database name
 java.lang.String getDBPort()
          Retrieve the port number
 java.lang.Class<? extends IOutputFileModel> getImplementingClass()
          Retrieve the class object of the implementing class
 int getInputMethod()
          Retrieve the value of the input method This value is needed to figure out what other values must be initialized
 java.lang.String getUserName()
          Retireive the user name
 IOutputFileModelBuilder host(java.lang.String val)
          Initialize the host
 IOutputFileModelBuilder inputDataFile(java.lang.String val)
          Initialize the inputDataFile
 IOutputFileModelBuilder inputMethod(int val)
          Initialize the inputMethod
 IOutputFileModelBuilder outputFileModel(IOutputFileModel model)
          Initialize the builder with an instance of an IOutputFileModel
 IOutputFileModelBuilder password(java.lang.String val)
          Initialize the password
 IOutputFileModelBuilder port(int val)
          Initialize the port
 IOutputFileModelBuilder schemaName(java.lang.String val)
          Initialize the schemaName
 IOutputFileModelBuilder storeLocation(java.lang.String val)
          Initialize the storeLocation
 IOutputFileModelBuilder tableName(java.lang.String val)
          Initialize the tableName
 IOutputFileModelBuilder userName(java.lang.String val)
          Initialize the userName
 
Methods inherited from interface ch.sahits.model.IBuilder
build
 

Method Detail

outputFileModel

IOutputFileModelBuilder outputFileModel(IOutputFileModel model)
Initialize the builder with an instance of an IOutputFileModel

Parameters:
model - model to use for the initialisation
Returns:
this

databaseName

IOutputFileModelBuilder databaseName(java.lang.String val)
Initialize the database name

Parameters:
val - database name
Returns:
this

databaseProduct

IOutputFileModelBuilder databaseProduct(java.lang.String val)
Initialize the databaseProduct

Parameters:
val - databaseProduct
Returns:
this

dbDefinitionPage

IOutputFileModelBuilder dbDefinitionPage(IBasicDBDefinitionPage val)
Initialize the dbDefinitionPage

Parameters:
val - dbDefinitionPage
Returns:
this

fileName

IOutputFileModelBuilder fileName(java.lang.String val)
Initialize the fileName

Parameters:
val - fileName
Returns:
this

generationClass

IOutputFileModelBuilder generationClass(java.lang.Class<?> val)
Initialize the generationClass

Parameters:
val - generationClass
Returns:
this

generatorBundle

IOutputFileModelBuilder generatorBundle(java.lang.String val)
Initialize the generatorBundle

Parameters:
val - generatorBundle
Returns:
this

generatorJETemplate

IOutputFileModelBuilder generatorJETemplate(java.lang.String val)
Initialize the generatorJETemplate

Parameters:
val - generatorJETemplate
Returns:
this

host

IOutputFileModelBuilder host(java.lang.String val)
Initialize the host

Parameters:
val - host
Returns:
this

inputMethod

IOutputFileModelBuilder inputMethod(int val)
Initialize the inputMethod

Parameters:
val - inputMethod
Returns:
this

inputDataFile

IOutputFileModelBuilder inputDataFile(java.lang.String val)
Initialize the inputDataFile

Parameters:
val - inputDataFile
Returns:
this

password

IOutputFileModelBuilder password(java.lang.String val)
Initialize the password

Parameters:
val - password
Returns:
this

port

IOutputFileModelBuilder port(int val)
Initialize the port

Parameters:
val - port
Returns:
this

schemaName

IOutputFileModelBuilder schemaName(java.lang.String val)
Initialize the schemaName

Parameters:
val - schemaName
Returns:
this

storeLocation

IOutputFileModelBuilder storeLocation(java.lang.String val)
Initialize the storeLocation

Parameters:
val - storeLocation
Returns:
this

tableName

IOutputFileModelBuilder tableName(java.lang.String val)
Initialize the tableName

Parameters:
val - tableName
Returns:
this

userName

IOutputFileModelBuilder userName(java.lang.String val)
Initialize the userName

Parameters:
val - userName
Returns:
this

getImplementingClass

java.lang.Class<? extends IOutputFileModel> getImplementingClass()
Retrieve the class object of the implementing class

Returns:
class

getInputMethod

int getInputMethod()
Retrieve the value of the input method This value is needed to figure out what other values must be initialized

Returns:
input method value as defined in DynamicDBGenerationCode

getDatabaseProduct

java.lang.String getDatabaseProduct()
Retrieve the name of the database product (vendor)

Returns:
database product

getUserName

java.lang.String getUserName()
Retireive the user name

Returns:
user name

getDBPort

java.lang.String getDBPort()
Retrieve the port number

Returns:
port number

getDBHost

java.lang.String getDBHost()
Retreive the database host

Returns:
host

getDBName

java.lang.String getDBName()
Retrieve the database name

Returns:
database name