public class SpdxPackageVerificationCode extends Object
| Constructor and Description |
|---|
SpdxPackageVerificationCode(org.apache.jena.rdf.model.Model model,
org.apache.jena.graph.Node verificationCodeNode) |
SpdxPackageVerificationCode(String value,
String[] excludedFileNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExcludedFileName(String excludedFileName) |
org.apache.jena.rdf.model.Resource |
createResource(org.apache.jena.rdf.model.Model model)
Creates a resource from this SPDX Verification Code
|
boolean |
equivalent(SpdxPackageVerificationCode comp) |
String[] |
getExcludedFileNames() |
String |
getValue() |
void |
setExcludedFileNames(String[] excludedFileNames) |
void |
setValue(String value) |
List<String> |
verify() |
public SpdxPackageVerificationCode(String value, String[] excludedFileNames)
public SpdxPackageVerificationCode(org.apache.jena.rdf.model.Model model,
org.apache.jena.graph.Node verificationCodeNode)
throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic org.apache.jena.rdf.model.Resource createResource(org.apache.jena.rdf.model.Model model)
model - public String[] getExcludedFileNames()
public void setExcludedFileNames(String[] excludedFileNames)
public void addExcludedFileName(String excludedFileName)
public String getValue()
public void setValue(String value)
value - the value to setpublic boolean equivalent(SpdxPackageVerificationCode comp)
comp - Copyright © 2018 Linux Foundation. All Rights Reserved.