Package org.spdx.rdfparser
Class SpdxPackageVerificationCode
java.lang.Object
org.spdx.rdfparser.SpdxPackageVerificationCode
public class SpdxPackageVerificationCode extends Object
Contains an SPDX Package Verification Code, currently consisting
of a value and list of excluded files.
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description SpdxPackageVerificationCode(String value, String[] excludedFileNames)SpdxPackageVerificationCode(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node verificationCodeNode) -
Method Summary
Modifier and Type Method Description voidaddExcludedFileName(String excludedFileName)org.apache.jena.rdf.model.ResourcecreateResource(org.apache.jena.rdf.model.Model model)Creates a resource from this SPDX Verification Codebooleanequivalent(SpdxPackageVerificationCode comp)String[]getExcludedFileNames()StringgetValue()voidsetExcludedFileNames(String[] excludedFileNames)voidsetValue(String value)List<String>verify()
-
Constructor Details
-
SpdxPackageVerificationCode
-
SpdxPackageVerificationCode
public SpdxPackageVerificationCode(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node verificationCodeNode) throws InvalidSPDXAnalysisException- Throws:
InvalidSPDXAnalysisException
-
-
Method Details
-
createResource
public org.apache.jena.rdf.model.Resource createResource(org.apache.jena.rdf.model.Model model)Creates a resource from this SPDX Verification Code- Parameters:
model-- Returns:
-
getExcludedFileNames
-
setExcludedFileNames
-
addExcludedFileName
-
getValue
-
setValue
- Parameters:
value- the value to set
-
verify
-
equivalent
- Parameters:
comp-- Returns:
-