}
return result;
}
private OperatingSystem getOperatingSystem(Map.Entry<String, SoftwareDescription> entry) {
SoftwareDescription softwareDescription = entry.getValue();
if (isOperatingSystem(softwareDescription)) {
String uuid = entry.getKey();
return OperatingSystem.builder()
.id(uuid)
.softwareLicense(SoftwareLicense.builder().softwareDescription(softwareDescription).build())
.operatingSystemReferenceCode(softwareDescription.getReferenceCode())
.build();
}
return null;
}