net.sourceforge.squirrel_sql.plugins.SybaseASE.prefs
Class SybasePreferenceBean

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.SybaseASE.prefs.SybasePreferenceBean
All Implemented Interfaces:
Serializable, Cloneable, IQueryTokenizerPreferenceBean

public class SybasePreferenceBean
extends Object
implements Cloneable, Serializable, IQueryTokenizerPreferenceBean

A bean class to store preferences for the Sybase plugin.

See Also:
Serialized Form

Constructor Summary
SybasePreferenceBean()
           
 
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 getLineComment()
           
 String getProcedureSeparator()
           
 String getStatementSeparator()
           
 boolean isInstallCustomQueryTokenizer()
           
 boolean isRemoveMultiLineComments()
           
 void setClientName(String value)
          Set the client name.
 void setClientVersion(String value)
          Set the client version.
 void setInstallCustomQueryTokenizer(boolean installCustomQueryTokenizer)
           
 void setLineComment(String lineComment)
           
 void setProcedureSeparator(String procedureSeparator)
           
 void setRemoveMultiLineComments(boolean removeMultiLineComments)
           
 void setStatementSeparator(String statementSeparator)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SybasePreferenceBean

public SybasePreferenceBean()
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 IQueryTokenizerPreferenceBean
Returns:
Client name.

setClientName

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

Specified by:
setClientName in interface IQueryTokenizerPreferenceBean
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 IQueryTokenizerPreferenceBean
Returns:
Client version.

setClientVersion

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

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

setStatementSeparator

public void setStatementSeparator(String statementSeparator)
Specified by:
setStatementSeparator in interface IQueryTokenizerPreferenceBean
Parameters:
statementSeparator - the statementSeparator to set

getStatementSeparator

public String getStatementSeparator()
Specified by:
getStatementSeparator in interface IQueryTokenizerPreferenceBean
Returns:
the statementSeparator

setLineComment

public void setLineComment(String lineComment)
Specified by:
setLineComment in interface IQueryTokenizerPreferenceBean
Parameters:
lineComment - the lineComment to set

getLineComment

public String getLineComment()
Specified by:
getLineComment in interface IQueryTokenizerPreferenceBean
Returns:
the lineComment

setRemoveMultiLineComments

public void setRemoveMultiLineComments(boolean removeMultiLineComments)
Specified by:
setRemoveMultiLineComments in interface IQueryTokenizerPreferenceBean
Parameters:
removeMultiLineComments - the removeMultiLineComments to set

isRemoveMultiLineComments

public boolean isRemoveMultiLineComments()
Specified by:
isRemoveMultiLineComments in interface IQueryTokenizerPreferenceBean
Returns:
the removeMultiLineComments

setInstallCustomQueryTokenizer

public void setInstallCustomQueryTokenizer(boolean installCustomQueryTokenizer)
Specified by:
setInstallCustomQueryTokenizer in interface IQueryTokenizerPreferenceBean
Parameters:
installCustomQueryTokenizer - the installCustomQueryTokenizer to set

isInstallCustomQueryTokenizer

public boolean isInstallCustomQueryTokenizer()
Specified by:
isInstallCustomQueryTokenizer in interface IQueryTokenizerPreferenceBean
Returns:
the installCustomQueryTokenizer

getProcedureSeparator

public String getProcedureSeparator()
Specified by:
getProcedureSeparator in interface IQueryTokenizerPreferenceBean
See Also:
IQueryTokenizerPreferenceBean.getProcedureSeparator()

setProcedureSeparator

public void setProcedureSeparator(String procedureSeparator)
Specified by:
setProcedureSeparator in interface IQueryTokenizerPreferenceBean
See Also:
IQueryTokenizerPreferenceBean.setProcedureSeparator(java.lang.String)


Copyright © 2001-2013. All Rights Reserved.