org.clazzes.jdbc2xml.sax.impl
Class InsertContext

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

public class InsertContext
extends Object

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

Author:
wglas

Constructor Summary
InsertContext(ISchemaEngine schemaEngine)
           
 
Method Summary
 void addParsedTable(TableInfo ti)
          Add a table info to the list of parsed tables.
 List<TableInfo> getParsedTables()
           
 ProcessRestrictionFilter getProcessRestrictionFilter()
           
 ISchemaEngine getSchemaEngine()
           
 TimeZone getTimeZone()
           
 void setParsedTables(List<TableInfo> parsedTables)
           
 void setProcessRestrictionFilter(ProcessRestrictionFilter processRestrictionFilter)
           
 void setSchemaEngine(ISchemaEngine schemaEngine)
           
 void setTimeZone(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(ISchemaEngine schemaEngine)
Parameters:
schemaEngine - The engine used for schema creation, which additionally carries the default time zone.
Method Detail

getSchemaEngine

public ISchemaEngine getSchemaEngine()
Returns:
the schemaEngine

setSchemaEngine

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

getTimeZone

public TimeZone getTimeZone()
Returns:
the timeZone

setTimeZone

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

getParsedTables

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

setParsedTables

public void setParsedTables(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 © 2012. All Rights Reserved.