| java.lang.Object org.jsqltool.utils.Options
Options | public class Options (Code) | | Title: JSqlTool Project
Description: This is a singleton class used to store application properties.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of JSqlTool project.
This library is free software; you can redistribute it and/or
modify it under the terms of the (LGPL) Lesser General Public
License as published by the Free Software Foundation;
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
The author may be contacted at:
maurocarniel@tin.it
author: Mauro Carniel version: 1.0 |
getDateFormat | public String getDateFormat()(Code) | | date format |
getInstance | public static Options getInstance()(Code) | | unique instance of the class |
getLanguage | final public String getLanguage()(Code) | | language id to be used inside the application |
getOracleExplainPlanTable | final public String getOracleExplainPlanTable()(Code) | | Oracle PLAN table, used to execute query explain |
getResource | final public String getResource(String key)(Code) | | Parameters: key - key to translate key translation |
isUpdateWhenNoPK | final public boolean isUpdateWhenNoPK()(Code) | | allow record updating when no pk is defined |
setDateFormat | final public void setDateFormat(String dateFormat)(Code) | | Set date format.
Parameters: dateFormat - date format |
setLanguage | final public void setLanguage(String language)(Code) | | Set language id to be used inside the application.
Parameters: language - language id to be used inside the application |
setOracleExplainPlanTable | final public void setOracleExplainPlanTable(String oracleExplainPlanTable)(Code) | | Set Oracle PLAN table, used to execute query explain.
Parameters: oracleExplainPlanTable - Oracle PLAN table, used to execute query explain |
setUpdateWhenNoPK | final public void setUpdateWhenNoPK(boolean updateWhenNoPK)(Code) | | Allow record updating when no pk is defined
Parameters: updateWhenNoPK - allow record updating when no pk is defined |
|
|