net.sourceforge.squirrel_sql.plugins.dbdiff.util
Class AbstractDifference

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dbdiff.util.AbstractDifference
Direct Known Subclasses:
TableColumnDifference, TableDifference

public class AbstractDifference
extends Object


Nested Class Summary
static class AbstractDifference.DiffType
           
 
Field Summary
protected  String _catalog1
          Catalog of the first table / column being compared
protected  String _catalog2
          Catalog of the second table / column being compared
protected  AbstractDifference.DiffType _differenceType
          The type of difference being reported
protected  Object _differenceVal1
          The value that is different with the first item
protected  Object _differenceVal2
          The value that is different with the second item
protected  String _schema1
          Schema of the first table / column being compared
protected  String _schema2
          Schema of the second table / column being compared
protected  String _tableName1
          Table name of the first table / column being compared
protected  String _tableName2
          Table name of the second table / column being compared
 
Constructor Summary
AbstractDifference()
           
 
Method Summary
 String getCatalog1()
           
 String getCatalog2()
           
 AbstractDifference.DiffType getDifferenceType()
           
 Object getDifferenceVal1()
           
 Object getDifferenceVal2()
           
 String getSchema1()
           
 String getSchema2()
           
 String getTableName1()
           
 String getTableName2()
           
 void setCatalog1(String _catalog1)
           
 void setCatalog2(String _catalog2)
           
 void setDifferenceType(AbstractDifference.DiffType _differenceType)
           
 void setDifferenceVal1(Object _differenceVal1)
           
 void setDifferenceVal2(Object _differenceVal2)
           
 void setSchema1(String _schema)
           
 void setSchema2(String _schema2)
           
 void setTableName1(String _tableName)
           
 void setTableName2(String _tableName2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_catalog1

protected String _catalog1
Catalog of the first table / column being compared


_schema1

protected String _schema1
Schema of the first table / column being compared


_tableName1

protected String _tableName1
Table name of the first table / column being compared


_catalog2

protected String _catalog2
Catalog of the second table / column being compared


_schema2

protected String _schema2
Schema of the second table / column being compared


_tableName2

protected String _tableName2
Table name of the second table / column being compared


_differenceType

protected AbstractDifference.DiffType _differenceType
The type of difference being reported


_differenceVal1

protected Object _differenceVal1
The value that is different with the first item


_differenceVal2

protected Object _differenceVal2
The value that is different with the second item

Constructor Detail

AbstractDifference

public AbstractDifference()
Method Detail

setDifferenceType

public void setDifferenceType(AbstractDifference.DiffType _differenceType)
Parameters:
_differenceType - the _differenceType to set

getDifferenceType

public AbstractDifference.DiffType getDifferenceType()
Returns:
the _differenceType

setTableName1

public void setTableName1(String _tableName)
Parameters:
_tableName - the _tableName to set

getTableName1

public String getTableName1()
Returns:
the _tableName

setSchema1

public void setSchema1(String _schema)
Parameters:
_schema - the _schema to set

getSchema1

public String getSchema1()
Returns:
the _schema

setCatalog1

public void setCatalog1(String _catalog1)
Parameters:
_catalog1 - the _catalog1 to set

getCatalog1

public String getCatalog1()
Returns:
the _catalog1

setCatalog2

public void setCatalog2(String _catalog2)
Parameters:
_catalog2 - the _catalog2 to set

getCatalog2

public String getCatalog2()
Returns:
the _catalog2

setSchema2

public void setSchema2(String _schema2)
Parameters:
_schema2 - the _schema2 to set

getSchema2

public String getSchema2()
Returns:
the _schema2

setTableName2

public void setTableName2(String _tableName2)
Parameters:
_tableName2 - the _tableName2 to set

getTableName2

public String getTableName2()
Returns:
the _tableName2

setDifferenceVal1

public void setDifferenceVal1(Object _differenceVal1)
Parameters:
_differenceVal1 - the _differenceVal1 to set

getDifferenceVal1

public Object getDifferenceVal1()
Returns:
the _differenceVal1

setDifferenceVal2

public void setDifferenceVal2(Object _differenceVal2)
Parameters:
_differenceVal2 - the _differenceVal2 to set

getDifferenceVal2

public Object getDifferenceVal2()
Returns:
the _differenceVal2


Copyright © 2001-2010. All Rights Reserved.