Package cn.mapway.ui.client.mvc
Class SwitchModuleData
- java.lang.Object
-
- cn.mapway.ui.client.mvc.SwitchModuleData
-
public class SwitchModuleData extends Object
模块间切换需要的参数- Author:
- admin
-
-
Constructor Summary
Constructors Constructor Description SwitchModuleData(String code, String hash)Instantiates a new Switch module data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHash()Gets hash.StringgetModuleCode()Gets module code.ModuleParametergetParameters()Gets parameters.BooleangetSaveToHistory()SwitchModuleDatamerge(ModuleParameter moduleParameter)SwitchModuleDataput(String key, Object value)Put switch module data.voidsetParameters(ModuleParameter ps)设置模块参数.voidsetSaveToHistory(Boolean saveToHistory)StringtoString()
-
-
-
Field Detail
-
oldCode
public String oldCode
-
-
Method Detail
-
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 keyvalue- the value- Returns:
- the switch module data
-
merge
public SwitchModuleData merge(ModuleParameter moduleParameter)
-
getSaveToHistory
public Boolean getSaveToHistory()
-
setSaveToHistory
public void setSaveToHistory(Boolean saveToHistory)
-
-