Package org.spdx.rdfparser
Class SPDXCreatorInformation
java.lang.Object
org.spdx.rdfparser.SPDXCreatorInformation
public class SPDXCreatorInformation extends Object
Creator class for SPDX documents
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description SPDXCreatorInformation(String[] creators, String createdDate, String comment, String licenseListVersion)SPDXCreatorInformation(org.apache.jena.rdf.model.Model spdxModel, org.apache.jena.graph.Node creatorNode) -
Method Summary
Modifier and Type Method Description org.apache.jena.rdf.model.ResourcecreateResource(org.apache.jena.rdf.model.Model model)booleanequals(Object o)StringgetComment()StringgetCreated()String[]getCreators()StringgetLicenseListVersion()inthashCode()voidsetComment(String comment)voidsetCreated(String createdDate)voidsetCreators(String[] creators)voidsetLicenseListVersion(String licenseListVersion)StringtoString()List<String>verify()
-
Constructor Details
-
SPDXCreatorInformation
-
SPDXCreatorInformation
public SPDXCreatorInformation(org.apache.jena.rdf.model.Model spdxModel, org.apache.jena.graph.Node creatorNode) throws InvalidSPDXAnalysisException- Throws:
InvalidSPDXAnalysisException
-
-
Method Details
-
getCreators
- Returns:
- the name
-
setCreators
- Parameters:
name- the name to set
-
getLicenseListVersion
-
setLicenseListVersion
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment- the comment to set
-
createResource
public org.apache.jena.rdf.model.Resource createResource(org.apache.jena.rdf.model.Model model) -
getCreated
-
setCreated
-
hashCode
public int hashCode() -
equals
-
toString
-
verify
- Returns:
-