gov.nih.nlm.mms
Interface Configurable

All Known Subinterfaces:
Browser, BrowserRestrictor, ConceptContentSelector, ConceptManipulator, ConceptSelector, ConceptView, Filter, Finder, GUIConfigurable, MetamorphoSysInputStream, MetamorphoSysOutputStream
All Known Implementing Classes:
AbstractBrowserRestrictor, AbstractConceptView, AbstractFilter, AbstractFinder, AbstractGUIConfigurable, AttributeTypesToRemoveFilter, CodeSearchFinder, ContentViewBrowserRestrictor, ContentViewBrowserRestrictorFilter, ContentViewFilter, CuiSearchFinder, ExpandableConceptView, ExpandableRawView, LanguagesToRemoveFilter, MRCXTBuilder, NLMFileMetamorphoSysInputStream, OriginalMRMetamorphoSysInputStream, OriginalMRMetamorphoSysOutputStream, PrecedenceFilter, RelationshipTypesToRemoveFilter, RemoveByTermgroupFilter, RichMRMetamorphoSysInputStream, RichMRMetamorphoSysOutputStream, SemanticTypesBrowserRestrictor, SemanticTypesBrowserRestrictorFilter, SemanticTypesToRemoveFilter, ShowAllBrowserRestrictor, SourceBrowserRestrictor, SourceBrowserRestrictorFilter, SourcesToRemoveFilter, SuppressibleTermgroupsFilter, TreeBrowserFinder, WordSearchFinder

public interface Configurable

Generically represents an object that can be configured by the MetamorphoSys application.

Author:
Deborah Shapiro

Method Summary
 String getConfigurationDetails()
          Method returns a String detailing the user selections on the filter.
 Properties getProperties()
          Returns the Properties representing the configuration choices.
 void resetToDefaults()
          Resets the configuration back to default values.
 void setConfiguration(ApplicationConfiguration c)
          Method provides the filter with values from the default configuration file.
 void setConfiguration(UserConfiguration c)
          Method provides the filter with values from the user configuration file.
 void setProperties(Properties p)
          Sets the Properties representing the configuration choices.
 

Method Detail

setConfiguration

void setConfiguration(ApplicationConfiguration c)
Method provides the filter with values from the default configuration file.

Parameters:
c - ApplicationConfiguration

setConfiguration

void setConfiguration(UserConfiguration c)
Method provides the filter with values from the user configuration file.

Parameters:
c - UserConfiguration

getConfigurationDetails

String getConfigurationDetails()
Method returns a String detailing the user selections on the filter. This String will be displayed in the mmsys.log at the completion of subsetting so it should be formatted to be easily read.

Returns:
String of data for log

getProperties

Properties getProperties()
Returns the Properties representing the configuration choices.

Returns:
the Properties representing the configuration choices

setProperties

void setProperties(Properties p)
Sets the Properties representing the configuration choices.

Parameters:
p - the Properties representing the configuration choices

resetToDefaults

void resetToDefaults()
Resets the configuration back to default values. When used with a GUI this method should change the data model behind the GUI and allow setPanelSelections to actually update the GUI.



Copyright ©2005