Class SwitchModuleData

java.lang.Object
cn.mapway.ui.client.mvc.SwitchModuleData

public class SwitchModuleData extends Object
模块间切换需要的参数
Author:
admin
  • Field Details

    • oldCode

      public String oldCode
  • Constructor Details

    • SwitchModuleData

      public SwitchModuleData(String code, String hash)
      Instantiates a new Switch module data.
      Parameters:
      code - the code
      hash - the hash
  • Method Details

    • getModuleCode

      public String getModuleCode()
      Gets module code.
      Returns:
      the module code
    • getHash

      public String getHash()
      Gets hash.
      Returns:
      the hash
    • getParameters

      public ModuleParameter getParameters()
      Gets parameters.
      Returns:
      the parameters
    • setParameters

      public void setParameters(ModuleParameter ps)
      设置模块参数.
      Parameters:
      ps - the ps
    • put

      public SwitchModuleData put(String key, Object value)
      Put switch module data.
      Parameters:
      key - the key
      value - the value
      Returns:
      the switch module data
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • merge

      public SwitchModuleData merge(ModuleParameter moduleParameter)
    • getSaveToHistory

      public Boolean getSaveToHistory()
    • setSaveToHistory

      public void setSaveToHistory(Boolean saveToHistory)