Class SettingsImportGroup

java.lang.Object
PamController.settings.SettingsImportGroup

public class SettingsImportGroup extends Object
Slightly more than a standard settings. Since there is no real association between settings and modules, the settings who's parent class is a PamControlledUnit will be listed, then any other settings which have the same name will get lumped with them.
Author:
Doug
  • Constructor Details

    • SettingsImportGroup

      public SettingsImportGroup(UsedModuleInfo moduleInfo)
    • SettingsImportGroup

      public SettingsImportGroup(PamControlledUnitSettings mainSettings, UsedModuleInfo moduleInfo)
      Constructor takes the main settings
      Parameters:
      mainSettings -
      moduleInfo -
  • Method Details

    • addSubSettings

      public void addSubSettings(PamControlledUnitSettings subSetting)
      add sub settings which seem somehow related to the main setting.
      Parameters:
      subSetting -
    • getMainSettings

      public PamControlledUnitSettings getMainSettings()
      Returns:
      the mainSettings
    • getSubSettings

      public ArrayList<PamControlledUnitSettings> getSubSettings()
      Returns:
      the subSettings
    • getImportChoices

      public ArrayList<ImportChoice> getImportChoices()
      Returns:
      the importChoices
    • getImportChoice

      public ImportChoice getImportChoice()
      Returns:
      the importChoice
    • setImportChoice

      public void setImportChoice(ImportChoice importChoice)
      Parameters:
      importChoice - the importChoice to set
    • getUsedModuleInfo

      public UsedModuleInfo getUsedModuleInfo()
      This is the information from an existing module, which may not have the full class name, but does have the type and name of the module being imported.
      Returns:
      the moduleInfo
    • getPamModuleInfo

      public PamModuleInfo getPamModuleInfo()
      this is the module information held in the PamModel which is used to create a module.
      Returns:
    • setMainSettings

      public void setMainSettings(PamControlledUnitSettings mainSettings)
      Parameters:
      mainSettings - the mainSettings to set