@Deprecated public class SPDXChecksum extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
ALGORITHM_TO_URI
Deprecated.
|
static Map<String,String> |
URI_TO_ALGORITHM
Deprecated.
|
| Constructor and Description |
|---|
SPDXChecksum(com.hp.hpl.jena.rdf.model.Model spdxModel,
com.hp.hpl.jena.graph.Node checksumNode)
Deprecated.
|
SPDXChecksum(String algorithm,
String value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
algorithmResourceToString(com.hp.hpl.jena.rdf.model.Resource algorithmResource)
Deprecated.
|
static com.hp.hpl.jena.rdf.model.Resource |
algorithmStringToResource(String algorithm,
com.hp.hpl.jena.rdf.model.Model model)
Deprecated.
Converts a string algorithm to an RDF resource
|
SPDXChecksum |
clone()
Deprecated.
|
com.hp.hpl.jena.rdf.model.Resource |
createResource(com.hp.hpl.jena.rdf.model.Model model)
Deprecated.
Creates a resource from this SPDX Checksum
|
boolean |
equals(Object o)
Deprecated.
|
protected static com.hp.hpl.jena.rdf.model.Resource |
findSpdxChecksum(com.hp.hpl.jena.rdf.model.Model model,
SPDXChecksum checksum)
Deprecated.
|
String |
getAlgorithm()
Deprecated.
|
com.hp.hpl.jena.rdf.model.Resource |
getResource()
Deprecated.
|
String |
getValue()
Deprecated.
|
void |
setAlgorithm(String algorithm)
Deprecated.
|
void |
setValue(String value)
Deprecated.
|
List<String> |
verify()
Deprecated.
|
public SPDXChecksum(com.hp.hpl.jena.rdf.model.Model spdxModel,
com.hp.hpl.jena.graph.Node checksumNode)
throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionprotected static com.hp.hpl.jena.rdf.model.Resource findSpdxChecksum(com.hp.hpl.jena.rdf.model.Model model,
SPDXChecksum checksum)
throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getAlgorithm()
public void setAlgorithm(String algorithm) throws InvalidSPDXAnalysisException
algorithm - the algorithm to setInvalidSPDXAnalysisExceptionpublic static com.hp.hpl.jena.rdf.model.Resource algorithmStringToResource(String algorithm, com.hp.hpl.jena.rdf.model.Model model) throws InvalidSPDXAnalysisException
algorithm - InvalidSPDXAnalysisExceptionpublic static String algorithmResourceToString(com.hp.hpl.jena.rdf.model.Resource algorithmResource) throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getValue()
public void setValue(String value)
value - the value to setpublic com.hp.hpl.jena.rdf.model.Resource createResource(com.hp.hpl.jena.rdf.model.Model model)
model - public com.hp.hpl.jena.rdf.model.Resource getResource()
public SPDXChecksum clone()
Copyright © 2016 Linux Foundation. All Rights Reserved.