--- a/tool/src/spdxlib/SectionPackage.java
+++ b/tool/src/spdxlib/SectionPackage.java
@@ -82,28 +82,28 @@
}
if(tag.title.equalsIgnoreCase("PackageSupplier->Person")){
- supplier.tagPerson = tag;
+ supplier.setTagPerson(tag);
return true;
}
if(tag.title.equalsIgnoreCase("PackageSupplier->Organization")){
- supplier.tagOrganization = tag;
+ supplier.setTagOrganization(tag);
return true;
}
if(tag.title.equalsIgnoreCase("PackageSupplier->Tool")){
- supplier.tagTool = tag;
+ supplier.setTagTool(tag);
return true;
}
if(tag.title.equalsIgnoreCase("PackageOriginator->Person")){
- originator.tagPerson = tag;
+ originator.setTagPerson(tag);
return true;
}
if(tag.title.equalsIgnoreCase("PackageOriginator->Organization")){
- supplier.tagOrganization = tag;
+ supplier.setTagOrganization(tag);
return true;
}
if(tag.title.equalsIgnoreCase("PackageOriginator->Tool")){
- supplier.tagTool = tag;
+ supplier.setTagTool(tag);
return true;
}