/** * Instantiates a {@link NdcModel} from the specified parameters. * * @param model the model */ public NdcModel(NdcModel model) { active = model.isActive(); splSetId = model.getSplSetId(); rxcui = model.getRxcui(); rxcuiName = model.getRxcuiName(); ndc = model.getNdc(); history = new ArrayList<>(model.getHistory()); }