/** * Instantiates a {@link NdcPropertiesModel} from the specified parameters. * * @param model the model */ public NdcPropertiesModel(NdcPropertiesModel model) { rxcui = model.getRxcui(); rxcuiName = model.getRxcuiName(); ndc11 = model.getNdc11(); ndc10 = model.getNdc10(); ndc9 = model.getNdc9(); splSetId = model.getSplSetId(); propertyList = new ArrayList<>(model.getPropertyList()); }
if (model.getPropertyList() != null && propertyList != null) { for (final PropertyModel in : model.getPropertyList()) { for (final PropertyModel in2 : propertyList) { final PropertyModel commonProperty = in.getModelInCommon(in2, analysisMode); if (commonProperty != null && !common.getPropertyList().contains(commonProperty)) { common.getPropertyList().add(commonProperty);