java.lang.Object
app.valuationcontrol.multimodule.library.entities.KeyParam

@Embeddable public class KeyParam extends Object
Helper class to a Model Supports the storage of the information related to Key Parameters of the Model
Author:
thoma
  • Constructor Details

    • KeyParam

      public KeyParam()
  • Method Details

    • copyFromExisting

      public void copyFromExisting(KeyParam keyParam, Model model)
    • replaceIds

      public void replaceIds(Map<Long,Long> oldToNewIds)
      Function that replace old IDS with new ids when creating a model
      Parameters:
      oldToNewIds - a hashmap that contains old and new ids
    • deleteVariableFromKeyParam

      public void deleteVariableFromKeyParam(Long variableId)
      Deletes a variable from KeyParam if it is among the KeyParams
      Parameters:
      variableId - is the id of the variable to be deleted