Class SuggestionServiceConfig

java.lang.Object
org.dlese.dpc.schemedit.standards.config.SuggestionServiceConfig

public class SuggestionServiceConfig extends Object
Encapsulates configuration for a suggestion service, incuding the framework that the service operates for and what standards files are to be used for that particular framework.
Author:
ostwald
  • Field Details

    • DATA_TYPES

      public static String DATA_TYPES
    • STANDARDS_FILE

      public static String STANDARDS_FILE
    • STANDARDS_DIRECTORY

      public static String STANDARDS_DIRECTORY
  • Constructor Details

    • SuggestionServiceConfig

      public SuggestionServiceConfig(org.dom4j.Element config)
      Constructor for the SuggestionServiceConfig object with provided configuration Element.
      Parameters:
      config - A element form a standards config file
  • Method Details

    • getVersion

      public String getVersion()
      Gets the version attribute of the SuggestionServiceConfig object
      Returns:
      The version value
    • getXpath

      public String getXpath()
      Gets the xpath attribute of the SuggestionServiceConfig object
      Returns:
      The xpath value
    • getStandardSourceType

      public String getStandardSourceType()
      Gets the standardSourceType attribute of the SuggestionServiceConfig object
      Returns:
      The standardSourceType value
    • getHelperClass

      public String getHelperClass()
      Gets the helperClass attribute of the SuggestionServiceConfig object
      Returns:
      The helperClass value
    • getPluginClass

      public String getPluginClass()
      Gets the pluginClass that supplies framework-specific informations, like xpaths, to the suggestionService.
      Returns:
      The pluginClass value
    • getDataTypes

      public List getDataTypes() throws Exception
      Gets the dataTypes attribute of the SuggestionServiceConfig object
      Returns:
      The dataTypes value
      Throws:
      Exception - Description of the Exception
    • getStandardsDirectory

      public String getStandardsDirectory() throws Exception
      Gets the standardsDirectory attribute of the SuggestionServiceConfig object, which designates a directory containing standards files.
      Returns:
      The standardsDirectory value
      Throws:
      Exception - Description of the Exception
    • getDefaultDocKey

      public String getDefaultDocKey() throws Exception
      Gets the defaultDocKey attribute of the SuggestionServiceConfig object
      Returns:
      The defaultDocKey value
      Throws:
      Exception - Description of the Exception
    • getDefaultDoc

      public String getDefaultDoc() throws Exception
      Gets the defaultDoc attribute of the SuggestionServiceConfig object
      Returns:
      The defaultDoc value
      Throws:
      Exception - Description of the Exception
    • getStandardsFile

      public String getStandardsFile() throws Exception
      Gets the standardsFile attribute of the SuggestionServiceConfig object
      Returns:
      The standardsFile value
      Throws:
      Exception - Description of the Exception