net.sourceforge.jdbcexporter
Class ExportDef

java.lang.Object
  extended bynet.sourceforge.jdbcexporter.ExportDef

public class ExportDef
extends java.lang.Object

The ExportDef class defines a set of entities to export from a given database. This definition includes:

Version:
0.6
Author:
Chris Nagy

Constructor Summary
ExportDef()
           
 
Method Summary
 void addEntity(ExportEntityDef newEntity)
          Adds an entity definition into the set that is exported.
 ConnectionDef getConnectionDef()
          Returns to the connection definition.
 ExportEntityDef[] getEntities()
          Returns the set of entity definitions to export.
 java.io.File getLogFile()
          Returns the log file to write log messages.
 void setConnectionDef(ConnectionDef newDef)
          Sets the connection definition.
 void setLogFile(java.io.File newFile)
          Sets the log file to write log messages.
 java.lang.String toString()
          Overrides Object.toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExportDef

public ExportDef()
Method Detail

setConnectionDef

public void setConnectionDef(ConnectionDef newDef)
Sets the connection definition.

Parameters:
newDef - definition of connection

getConnectionDef

public ConnectionDef getConnectionDef()
Returns to the connection definition.

Returns:
definition of connection

setLogFile

public void setLogFile(java.io.File newFile)
Sets the log file to write log messages.

Parameters:
newFile - log file

getLogFile

public java.io.File getLogFile()
Returns the log file to write log messages.

Returns:
log file

addEntity

public void addEntity(ExportEntityDef newEntity)
Adds an entity definition into the set that is exported.

Parameters:
newEntity - entity definition to be added

getEntities

public ExportEntityDef[] getEntities()
Returns the set of entity definitions to export.

Returns:
set of entity definitions

toString

public java.lang.String toString()
Overrides Object.toString()