Class KeyParam
java.lang.Object
app.valuationcontrol.multimodule.library.entities.KeyParam
Helper class to a Model Supports the storage of the information related to Key Parameters of the
Model
- Author:
- thoma
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromExisting(KeyParam keyParam, Model model) voiddeleteVariableFromKeyParam(Long variableId) Deletes a variable from KeyParam if it is among the KeyParamsvoidreplaceIds(Map<Long, Long> oldToNewIds) Function that replace old IDS with new ids when creating a model
-
Constructor Details
-
KeyParam
public KeyParam()
-
-
Method Details
-
copyFromExisting
-
replaceIds
Function that replace old IDS with new ids when creating a model- Parameters:
oldToNewIds- a hashmap that contains old and new ids
-
deleteVariableFromKeyParam
Deletes a variable from KeyParam if it is among the KeyParams- Parameters:
variableId- is the id of the variable to be deleted
-