ca.sqlpower.architect.swingui
Class CompareDMSettings

java.lang.Object
  extended by ca.sqlpower.architect.swingui.CompareDMSettings

public class CompareDMSettings
extends java.lang.Object


Nested Class Summary
static class CompareDMSettings.DatastoreType
           
static class CompareDMSettings.OutputFormat
           
static class CompareDMSettings.SourceOrTargetSettings
           
 
Constructor Summary
CompareDMSettings()
           
 
Method Summary
 java.lang.Class<? extends DDLGenerator> getDdlGenerator()
           
 CompareDMSettings.OutputFormat getOutputFormat()
           
 java.lang.String getOutputFormatAsString()
           
 boolean getSaveFlag()
          If the user never uses compareDM function, the saving process would fail since some of the return values of saving compareDM settings would be null.
 CompareDMSettings.SourceOrTargetSettings getSourceSettings()
           
 CompareDMPanel.SourceOrTargetStuff getSourceStuff()
           
 boolean getSuppressSimilarities()
           
 CompareDMSettings.SourceOrTargetSettings getTargetSettings()
           
 CompareDMPanel.SourceOrTargetStuff getTargetStuff()
           
 void setDdlGenerator(java.lang.Class<? extends DDLGenerator> ddlGenerator)
           
 void setOutputFormat(CompareDMSettings.OutputFormat outputFormat)
           
 void setOutputFormatAsString(java.lang.String v)
           
 void setSaveFlag(boolean saveFlag)
           
 void setSourceStuff(CompareDMPanel.SourceOrTargetStuff source)
           
 void setSuppressSimilarities(boolean b)
           
 void setTargetStuff(CompareDMPanel.SourceOrTargetStuff target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareDMSettings

public CompareDMSettings()
Method Detail

getSourceSettings

public CompareDMSettings.SourceOrTargetSettings getSourceSettings()

getTargetSettings

public CompareDMSettings.SourceOrTargetSettings getTargetSettings()

getOutputFormat

public CompareDMSettings.OutputFormat getOutputFormat()

setOutputFormat

public void setOutputFormat(CompareDMSettings.OutputFormat outputFormat)

getOutputFormatAsString

public java.lang.String getOutputFormatAsString()

setOutputFormatAsString

public void setOutputFormatAsString(java.lang.String v)

setSuppressSimilarities

public void setSuppressSimilarities(boolean b)

getSuppressSimilarities

public boolean getSuppressSimilarities()

setTargetStuff

public void setTargetStuff(CompareDMPanel.SourceOrTargetStuff target)

getTargetStuff

public CompareDMPanel.SourceOrTargetStuff getTargetStuff()

setSourceStuff

public void setSourceStuff(CompareDMPanel.SourceOrTargetStuff source)

getSourceStuff

public CompareDMPanel.SourceOrTargetStuff getSourceStuff()

getDdlGenerator

public java.lang.Class<? extends DDLGenerator> getDdlGenerator()

setDdlGenerator

public void setDdlGenerator(java.lang.Class<? extends DDLGenerator> ddlGenerator)

getSaveFlag

public boolean getSaveFlag()
If the user never uses compareDM function, the saving process would fail since some of the return values of saving compareDM settings would be null. Therefore the saveFlag is used as an indicator to tell if the user went into compareDM or not.


setSaveFlag

public void setSaveFlag(boolean saveFlag)


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca