org.clazzes.jdbc2xml.sax.impl
Class InsertContext

java.lang.Object
  extended by org.clazzes.jdbc2xml.sax.impl.InsertContext

public class InsertContext
extends java.lang.Object

This class holds all properties used for processing a dump file.

Author:
wglas

Constructor Summary
InsertContext(SchemaEngine schemaEngine)
           
 
Method Summary
 void addParsedTable(TableInfo ti)
          Add a table info to the list of parsed tables.
 java.util.List<TableInfo> getParsedTables()
           
 ProcessRestrictionFilter getProcessRestrictionFilter()
           
 SchemaEngine getSchemaEngine()
           
 java.util.TimeZone getTimeZone()
           
 void setParsedTables(java.util.List<TableInfo> parsedTables)
           
 void setProcessRestrictionFilter(ProcessRestrictionFilter processRestrictionFilter)
           
 void setSchemaEngine(SchemaEngine schemaEngine)
           
 void setTimeZone(java.util.TimeZone timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertContext

public InsertContext(SchemaEngine schemaEngine)
Parameters:
schemaEngine - The engine used for schema creation, which additionally carries the default time zone.
Method Detail

getSchemaEngine

public SchemaEngine getSchemaEngine()
Returns:
the schemaEngine

setSchemaEngine

public void setSchemaEngine(SchemaEngine schemaEngine)
Parameters:
schemaEngine - the schemaEngine to set

getTimeZone

public java.util.TimeZone getTimeZone()
Returns:
the timeZone

setTimeZone

public void setTimeZone(java.util.TimeZone timeZone)
Parameters:
timeZone - the timeZone to set

getParsedTables

public java.util.List<TableInfo> getParsedTables()
Returns:
the parsedTables

setParsedTables

public void setParsedTables(java.util.List<TableInfo> parsedTables)
Parameters:
parsedTables - the parsedTables to set

addParsedTable

public void addParsedTable(TableInfo ti)
Add a table info to the list of parsed tables.

Parameters:
ti - The table info to add.

getProcessRestrictionFilter

public ProcessRestrictionFilter getProcessRestrictionFilter()
Returns:
the processRestrictionFilter

setProcessRestrictionFilter

public void setProcessRestrictionFilter(ProcessRestrictionFilter processRestrictionFilter)
Parameters:
processRestrictionFilter - the processRestrictionFilter to set


Copyright © 2007. All Rights Reserved.