001: /*
002: * Copyright (C) 2007 Rob Manning
003: * manningr@users.sourceforge.net
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2.1 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018: */
019: package net.sourceforge.squirrel_sql.fw.preferences;
020:
021: public interface IQueryTokenizerPreferenceBean {
022:
023: /**
024: * @param statementSeparator the statementSeparator to set
025: */
026: void setStatementSeparator(String statementSeparator);
027:
028: /**
029: * @return the statementSeparator
030: */
031: String getStatementSeparator();
032:
033: /**
034: * @param procedureSeparator the procedureSeparator to set
035: */
036: void setProcedureSeparator(String procedureSeparator);
037:
038: /**
039: * @return the procedureSeparator
040: */
041: String getProcedureSeparator();
042:
043: /**
044: * @param lineComment the lineComment to set
045: */
046: void setLineComment(String lineComment);
047:
048: /**
049: * @return the lineComment
050: */
051: String getLineComment();
052:
053: /**
054: * @param removeMultiLineComments the removeMultiLineComments to set
055: */
056: void setRemoveMultiLineComments(boolean removeMultiLineComments);
057:
058: /**
059: * @return the removeMultiLineComments
060: */
061: boolean isRemoveMultiLineComments();
062:
063: /**
064: * @param installCustomQueryTokenizer the installCustomQueryTokenizer to set
065: */
066: void setInstallCustomQueryTokenizer(
067: boolean installCustomQueryTokenizer);
068:
069: /**
070: * @return the installCustomQueryTokenizer
071: */
072: boolean isInstallCustomQueryTokenizer();
073:
074: /**
075: * Retrieve the client to use. This is only used if <TT>useAnonymousClient</TT>
076: * is false.
077: *
078: * @return Client name.
079: */
080: String getClientName();
081:
082: /**
083: * Set the client name.
084: *
085: * @param value
086: * Client name
087: */
088: void setClientName(String value);
089:
090: /**
091: * Retrieve the client version to use. This is only used if <TT>useAnonymousLogon</TT>
092: * is false.
093: *
094: * @return Client version.
095: */
096: String getClientVersion();
097:
098: /**
099: * Set the client version.
100: *
101: * @param value
102: * Client version
103: */
104: void setClientVersion(String value);
105:
106: }
|