|
a/tool/src/spdxlib/SectionPackage.java |
|
b/tool/src/spdxlib/SectionPackage.java |
|
... |
|
... |
80 |
this.fileName = tag;
|
80 |
this.fileName = tag;
|
81 |
return true;
|
81 |
return true;
|
82 |
}
|
82 |
}
|
83 |
|
83 |
|
84 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Person")){
|
84 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Person")){
|
85 |
supplier.tagPerson = tag;
|
85 |
supplier.setTagPerson(tag);
|
86 |
return true;
|
86 |
return true;
|
87 |
}
|
87 |
}
|
88 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Organization")){
|
88 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Organization")){
|
89 |
supplier.tagOrganization = tag;
|
89 |
supplier.setTagOrganization(tag);
|
90 |
return true;
|
90 |
return true;
|
91 |
}
|
91 |
}
|
92 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Tool")){
|
92 |
if(tag.title.equalsIgnoreCase("PackageSupplier->Tool")){
|
93 |
supplier.tagTool = tag;
|
93 |
supplier.setTagTool(tag);
|
94 |
return true;
|
94 |
return true;
|
95 |
}
|
95 |
}
|
96 |
|
96 |
|
97 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Person")){
|
97 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Person")){
|
98 |
originator.tagPerson = tag;
|
98 |
originator.setTagPerson(tag);
|
99 |
return true;
|
99 |
return true;
|
100 |
}
|
100 |
}
|
101 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Organization")){
|
101 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Organization")){
|
102 |
supplier.tagOrganization = tag;
|
102 |
supplier.setTagOrganization(tag);
|
103 |
return true;
|
103 |
return true;
|
104 |
}
|
104 |
}
|
105 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Tool")){
|
105 |
if(tag.title.equalsIgnoreCase("PackageOriginator->Tool")){
|
106 |
supplier.tagTool = tag;
|
106 |
supplier.setTagTool(tag);
|
107 |
return true;
|
107 |
return true;
|
108 |
}
|
108 |
}
|
109 |
|
109 |
|
110 |
if(tag.title.equalsIgnoreCase("PackageDownloadLocation")){
|
110 |
if(tag.title.equalsIgnoreCase("PackageDownloadLocation")){
|
111 |
this.downloadLocation = tag;
|
111 |
this.downloadLocation = tag;
|