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 Link icon

    • SettingsImportGroup Link icon

      public SettingsImportGroup(UsedModuleInfo moduleInfo)
    • SettingsImportGroup Link icon

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

    • addSubSettings Link icon

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

      public PamControlledUnitSettings getMainSettings()
      Returns:
      the mainSettings
    • getSubSettings Link icon

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

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

      public ImportChoice getImportChoice()
      Returns:
      the importChoice
    • setImportChoice Link icon

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

      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 Link icon

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

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