Child: [r13] (diff)

Download this file

SectionCreator.java    53 lines (42 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* SPDXVersion: SPDX-1.1
*
* Creator: Person: Nuno Brito (nuno.brito@triplecheck.de)
*
* Creator: Organization: TripleCheck (contact@triplecheck.de)
*
* Created: 2013-09-01T00:00:00Z
*
* LicenseName: NOASSERTION
*
* FileName: SectionCreator.java
*
* FileType: SOURCE
*
* FileCopyrightText: <text> Copyright 2013 Nuno Brito, TripleCheck </text>
*
* FileComment: <text> Keeps all objects regarding the header of SPDX
* documents </text>
*/
package spdxlib;
import java.util.ArrayList;
public class SectionCreator {
public TagValue
SPDXVersion, // specification version that was used, mandatory, one
dataLicense, // license applicable to SPDX report, mandatory, one
documentComment; // comments for readers of SPDX doc, optional, one
public ArrayList<Person> // who created the SPDX file, mandatory, one or many
people = new ArrayList();
public TagValue
created, // when was the report created? mandatory, one
creatorComment; // global comment from all people, optional, one
@Override
public String toString(){
String title = "SPDX creators";
//if(people.size()>1){
title = title.concat(" ("
+ people.size() + ")");
//}
return title;
}
}