cmu.survey.editor.manipulators
Class ExportSurvey

java.lang.Object
  extended by cmu.survey.editor.manipulators.ExportSurvey

public class ExportSurvey
extends java.lang.Object


Field Summary
static int ExportAnswers
           
static int ExportCodebook
           
static int ExportSQLFile
           
static int ExportUsers
           
 
Constructor Summary
ExportSurvey()
           
ExportSurvey(DataBitStorage objectStorage, Survey survey)
           
 
Method Summary
 java.lang.String export()
           
 boolean getAbbreviateAnswerChoices()
           
 java.util.Vector getChoices()
           
 boolean getConvertScalesToRadioButtons()
           
 boolean getHideNumberScales()
           
 boolean getHideRadioHeaders()
           
 java.lang.String getLastBackedUp()
           
 java.io.File getLocationToBackup()
           
 int getMinAnswerChoiceFrequency()
           
 java.lang.String getMysqldumpLocation()
           
 DataBitStorage getObjectStorage()
           
 java.util.Vector getQuestionChoiceAbbreviationHolder()
           
 boolean getSaveVariableTypes()
           
 boolean getShowIndexNotBullets()
           
 int getTypeOfExport()
           
 void setAbbreviateAnswerChoices(boolean b)
           
 void setCompressNumberScales(boolean b)
           
 void setConvertScalesToRadioButtons(boolean b)
           
 void setHideNumberScales(boolean hideScales)
           
 void setHideRadioHeaders(boolean b)
           
 void setLastBackedUp(java.lang.String string)
           
 void setLocationToBackup(java.io.File file)
           
 void setMinAnswerChoiceFrequency(int i)
           
 void setMysqldumpLocation(java.lang.String string)
           
 void setQuestionChoiceAbbreviationHolder(java.util.Vector vector)
           
 void setSaveVariableNames(boolean b)
           
 void setSaveVariableTypes(boolean b)
           
 void setShowIndexNotBullets(boolean b)
           
 void setTypeOfExport(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ExportSQLFile

public static int ExportSQLFile

ExportCodebook

public static int ExportCodebook

ExportAnswers

public static int ExportAnswers

ExportUsers

public static int ExportUsers
Constructor Detail

ExportSurvey

public ExportSurvey(DataBitStorage objectStorage,
                    Survey survey)

ExportSurvey

public ExportSurvey()
Method Detail

getChoices

public java.util.Vector getChoices()

setTypeOfExport

public void setTypeOfExport(int type)

getTypeOfExport

public int getTypeOfExport()

export

public java.lang.String export()

getLocationToBackup

public java.io.File getLocationToBackup()
Returns:

setLocationToBackup

public void setLocationToBackup(java.io.File file)
Parameters:
string -

setSaveVariableNames

public void setSaveVariableNames(boolean b)
Parameters:
b -

getLastBackedUp

public java.lang.String getLastBackedUp()
Returns:

setLastBackedUp

public void setLastBackedUp(java.lang.String string)
Parameters:
string -

getMysqldumpLocation

public java.lang.String getMysqldumpLocation()
Returns:

setMysqldumpLocation

public void setMysqldumpLocation(java.lang.String string)
Parameters:
string -

getSaveVariableTypes

public boolean getSaveVariableTypes()
Returns:

setSaveVariableTypes

public void setSaveVariableTypes(boolean b)
Parameters:
b -

getShowIndexNotBullets

public boolean getShowIndexNotBullets()
Returns:

setShowIndexNotBullets

public void setShowIndexNotBullets(boolean b)
Parameters:
b -

getAbbreviateAnswerChoices

public boolean getAbbreviateAnswerChoices()
Returns:

getConvertScalesToRadioButtons

public boolean getConvertScalesToRadioButtons()
Returns:

getHideRadioHeaders

public boolean getHideRadioHeaders()
Returns:

setAbbreviateAnswerChoices

public void setAbbreviateAnswerChoices(boolean b)
Parameters:
b -

setConvertScalesToRadioButtons

public void setConvertScalesToRadioButtons(boolean b)
Parameters:
b -

setHideRadioHeaders

public void setHideRadioHeaders(boolean b)
Parameters:
b -

getMinAnswerChoiceFrequency

public int getMinAnswerChoiceFrequency()
Returns:

setMinAnswerChoiceFrequency

public void setMinAnswerChoiceFrequency(int i)
Parameters:
i -

getQuestionChoiceAbbreviationHolder

public java.util.Vector getQuestionChoiceAbbreviationHolder()
Returns:

setQuestionChoiceAbbreviationHolder

public void setQuestionChoiceAbbreviationHolder(java.util.Vector vector)
Parameters:
vector -

getHideNumberScales

public boolean getHideNumberScales()
Returns:
Returns the hideNumberScales.

setHideNumberScales

public void setHideNumberScales(boolean hideScales)
Parameters:
hideScales - The hideScales to set.

setCompressNumberScales

public void setCompressNumberScales(boolean b)
Parameters:
b -

getObjectStorage

public DataBitStorage getObjectStorage()