serviceToService.setDescription(details.description);
serviceToService.setObligatory(details.obligatory);
}
else {
serviceToService = new ServiceToService();
serviceToService.setKey(new ServiceToServicePK(pserviceId, details.cserviceId));
serviceToService.setDescription(details.description);
serviceToService.setObligatory(details.obligatory);
serviceToService.setParentService(findEntity(Service.class, details.pserviceId));
serviceToService.setChildService(findEntity(Service.class, details.cserviceId));
}