net.sourceforge.squirrel_sql.plugins.dbdiff.prefs
Class DBDiffPreferenceBean

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dbdiff.prefs.DBDiffPreferenceBean
All Implemented Interfaces:
Serializable, Cloneable, IPluginPreferenceBean

public class DBDiffPreferenceBean
extends Object
implements Cloneable, Serializable, IPluginPreferenceBean

A bean class to store preferences for the DB Diff plugin.

See Also:
Serialized Form

Constructor Summary
DBDiffPreferenceBean()
           
 
Method Summary
 Object clone()
          Return a copy of this object.
 String getClientName()
          Retrieve the client to use.
 String getClientVersion()
          Retrieve the client version to use.
 String getGraphicalToolCommand()
           
 boolean isSortColumnsForSideBySideComparison()
           
 boolean isUseExternalGraphicalDiffTool()
           
 boolean isUseTabularDiffPresenation()
           
 void setClientName(String value)
          Set the client name.
 void setClientVersion(String value)
          Set the client version.
 void setGraphicalToolCommand(String graphicalToolCommand)
           
 void setSortColumnsForSideBySideComparison(boolean sortColumnsForSideBySideComparison)
           
 void setUseExternalGraphicalDiffTool(boolean useExternalGraphicalDiffTool)
           
 void setUseTabularDiffPresenation(boolean useTabularDiffPresenation)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBDiffPreferenceBean

public DBDiffPreferenceBean()
Method Detail

clone

public Object clone()
Return a copy of this object.

Overrides:
clone in class Object

getClientName

public String getClientName()
Retrieve the client to use. This is only used if useAnonymousClient is false.

Specified by:
getClientName in interface IPluginPreferenceBean
Returns:
Client name.

setClientName

public void setClientName(String value)
Set the client name.

Specified by:
setClientName in interface IPluginPreferenceBean
Parameters:
value - Client name

getClientVersion

public String getClientVersion()
Retrieve the client version to use. This is only used if useAnonymousLogon is false.

Specified by:
getClientVersion in interface IPluginPreferenceBean
Returns:
Client version.

setClientVersion

public void setClientVersion(String value)
Set the client version.

Specified by:
setClientVersion in interface IPluginPreferenceBean
Parameters:
value - Client version

isUseExternalGraphicalDiffTool

public boolean isUseExternalGraphicalDiffTool()
Returns:
the useExternalGraphicalDiffTool

setUseExternalGraphicalDiffTool

public void setUseExternalGraphicalDiffTool(boolean useExternalGraphicalDiffTool)
Parameters:
useExternalGraphicalDiffTool - the useExternalGraphicalDiffTool to set

getGraphicalToolCommand

public String getGraphicalToolCommand()
Returns:
the graphicalToolCommand

setGraphicalToolCommand

public void setGraphicalToolCommand(String graphicalToolCommand)
Parameters:
graphicalToolCommand - the graphicalToolCommand to set

setUseTabularDiffPresenation

public void setUseTabularDiffPresenation(boolean useTabularDiffPresenation)
Parameters:
useTabularDiffPresenation - the useTabularDiffPresenation to set

isUseTabularDiffPresenation

public boolean isUseTabularDiffPresenation()
Returns:
the useTabularDiffPresenation

isSortColumnsForSideBySideComparison

public boolean isSortColumnsForSideBySideComparison()
Returns:
the sortColumnsForSideBySideComparison

setSortColumnsForSideBySideComparison

public void setSortColumnsForSideBySideComparison(boolean sortColumnsForSideBySideComparison)
Parameters:
sortColumnsForSideBySideComparison - the sortColumnsForSideBySideComparison to set


Copyright © 2001-2012. All Rights Reserved.