cst.common.system
Class ConfigurationManager
java.lang.Object
cst.common.system.ConfigurationManager
- Direct Known Subclasses:
- TestDataSet
public class ConfigurationManager
- extends java.lang.Object
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trialSubjectModelFactory
protected TrialSubjectModelFactory trialSubjectModelFactory
ConfigurationManager
public ConfigurationManager(SessionProperties sessionProperties)
getToolTipForTrialActivity
public java.lang.String getToolTipForTrialActivity(java.lang.String trialActivityDataStorageName)
getToolTipForTrialActivityField
public java.lang.String getToolTipForTrialActivityField(java.lang.String trialActivityDataStorageName,
java.lang.String trialActivityFieldDataStorageName)
getToolTipForCoreField
public java.lang.String getToolTipForCoreField(java.lang.String coreFieldDataStorageName)
getCoreFieldFilterCommandCategories
public java.util.ArrayList<FilterCommandCategory> getCoreFieldFilterCommandCategories()
getTrialSubjectModelFactory
public TrialSubjectModelFactory getTrialSubjectModelFactory()
getPluginManager
public PluginManager getPluginManager()
readConfigurationFile
public void readConfigurationFile(java.io.File configurationFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCompletionFilterCommands
public java.util.ArrayList<CompletionFilterCommand> getCompletionFilterCommands()
getShowAllFilterCommand
public ShowAllFilterCommand getShowAllFilterCommand()
getDataTypeFilterCommandCategories
public java.util.ArrayList<FilterCommandCategory> getDataTypeFilterCommandCategories()
getBeginDate
public java.util.Date getBeginDate()
getEndDate
public java.util.Date getEndDate()
getDatabaseName
public java.lang.String getDatabaseName()
setDatabaseName
public void setDatabaseName(java.lang.String databaseName)
getDatabaseServer
public java.lang.String getDatabaseServer()
setDatabaseServer
public void setDatabaseServer(java.lang.String databaseServer)
getDatabasePort
public java.lang.String getDatabasePort()
setDatabasePort
public void setDatabasePort(java.lang.String databasePort)
getSubjectTableName
public java.lang.String getSubjectTableName()
setSubjectTableName
public void setSubjectTableName(java.lang.String subjectTableName)
getActivityChangesTableName
public java.lang.String getActivityChangesTableName()
setActivityChangesTableName
public void setActivityChangesTableName(java.lang.String activityChangesTableName)
getProjectTitle
public java.lang.String getProjectTitle()
setProjectTitle
public void setProjectTitle(java.lang.String projectTitle)
getMainContactName
public java.lang.String getMainContactName()
setMainContactName
public void setMainContactName(java.lang.String mainContactName)
getEmail
public java.lang.String getEmail()
setEmail
public void setEmail(java.lang.String email)
getPhone
public java.lang.String getPhone()
setPhone
public void setPhone(java.lang.String phone)
getProjectDescription
public java.lang.String getProjectDescription()
setProjectDescription
public void setProjectDescription(java.lang.String projectDescription)
getApplicationName
public java.lang.String getApplicationName()
setApplicationName
public void setApplicationName(java.lang.String applicationName)
getApplicationVersion
public java.lang.String getApplicationVersion()
setApplicationVersion
public void setApplicationVersion(java.lang.String applicationVersion)
getUserTableName
public java.lang.String getUserTableName()
setUserTableName
public void setUserTableName(java.lang.String userTableName)
getPrimaryKeyFieldDisplayName
public java.lang.String getPrimaryKeyFieldDisplayName()
setPrimaryKeyFieldDisplayName
public void setPrimaryKeyFieldDisplayName(java.lang.String primaryKeyFieldDisplayName)
getPrimaryKeyFieldToolTip
public java.lang.String getPrimaryKeyFieldToolTip()
setPrimaryKeyFieldToolTip
public void setPrimaryKeyFieldToolTip(java.lang.String primaryKeyFieldToolTip)
getSingularTrialSubjectDisplayName
public java.lang.String getSingularTrialSubjectDisplayName()
setSingularTrialSubjectDisplayName
public void setSingularTrialSubjectDisplayName(java.lang.String singularTrialSubjectName)
getPluralTrialSubjectDisplayName
public java.lang.String getPluralTrialSubjectDisplayName()
setPluralTrialSubjectDisplayName
public void setPluralTrialSubjectDisplayName(java.lang.String pluralTrialSubjectName)
getApplicationThemeColour
public java.awt.Color getApplicationThemeColour()
setApplicationThemeColour
public void setApplicationThemeColour(java.awt.Color applicationThemeColour)
getPrimaryKeyLength
public int getPrimaryKeyLength()
getCommentsLength
public int getCommentsLength()
getSubjectAttributeLength
public int getSubjectAttributeLength()