fr.lri.bd.olap.model
Class ApplicationSettings

java.lang.Object
  extended by fr.lri.bd.olap.model.ApplicationSettings

public class ApplicationSettings
extends Object

ApplicationSettings class encapsulate application settings set from ini file or by user.

Author:
holubec

Constructor Summary
ApplicationSettings()
           
 
Method Summary
static String getSoapURL()
           
static void initialize(Properties props)
          Initialize application settings from file
static boolean isCreateViews()
           
static boolean isSoapEnabled()
           
static boolean isUseCubes()
           
static void setCreateViews(boolean createViews)
           
static void setSoapEnabled(boolean soapEnabled)
           
static void setSoapURL(String soapURL)
           
static void setUseCubes(boolean useCubes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationSettings

public ApplicationSettings()
Method Detail

initialize

public static void initialize(Properties props)
Initialize application settings from file

Parameters:
props - properties

isCreateViews

public static boolean isCreateViews()
Returns:
the createViews

setCreateViews

public static void setCreateViews(boolean createViews)
Parameters:
createViews - the createViews to set

isUseCubes

public static boolean isUseCubes()
Returns:
the useCubes

setUseCubes

public static void setUseCubes(boolean useCubes)
Parameters:
useCubes - the useCubes to set

isSoapEnabled

public static boolean isSoapEnabled()
Returns:
the soapEnabled

setSoapEnabled

public static void setSoapEnabled(boolean soapEnabled)
Parameters:
soapEnabled - the soapEnabled to set

getSoapURL

public static String getSoapURL()
Returns:
the soapURL

setSoapURL

public static void setSoapURL(String soapURL)
Parameters:
soapURL - the soapURL to set