com.ihr.xbrl.manage
Class DatabaseManagerBase
java.lang.Object
com.ihr.xbrl.manage.DatabaseManagerBase
public class DatabaseManagerBase
- extends java.lang.Object
This is the base class that is able to read the properties from
the user preferences file and write them down. The class requires
another class that implements the user interface. The idea
is that the user interface can be implemented in several
programming languages while this class can be reused in the
different GUI frameworks.
- Author:
- Ignacio
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertiesFileName
public static final java.lang.String propertiesFileName
- See Also:
- Constant Field Values
DatabaseManagerBase
public DatabaseManagerBase(boolean bCreateDefault)
- Parameters:
bCreateDefault -
loadProperties
public void loadProperties(boolean bCreateDefault)
- If the parameter is true, a new file will be created with default values if the file is not found.
If the parameter is false, a new file will not be created if the file is not found.
- Parameters:
bCreateDefault -
getStatus
public DatabaseManagerBase.DatabaseConfigurationInformationStatus getStatus()
getProperties
public java.util.Properties getProperties()
- Access back to the properties object.
- Returns:
- Properties
setProperties
public void setProperties(java.util.Properties p)
- Sets the properties to be used. This method
should be called from the setProperties method in the
GUI class and it makes a call to updateAllFields in the
GUI class.
- Parameters:
p -
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa