to.setComment(from.getComment()); if (from.isSetCustomProperties()) { to.setCustomProperties(new V3CustomProperties()); to.getCustomProperties().getCustomProperty().addAll(adaptOut(from.getCustomProperties().getCustomProperties()));
entity.setPortMirroring(model.isPortMirroring()); if (model.isSetCustomProperties()) { entity.setCustomProperties(DevicePropertiesUtils.getInstance() .convertProperties(CustomPropertiesParser.parse(model.getCustomProperties().getCustomProperties())));