@Deprecated public class SPDXChecksum extends Object implements Cloneable
| 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(org.apache.jena.rdf.model.Model spdxModel,
org.apache.jena.graph.Node checksumNode)
Deprecated.
|
SPDXChecksum(String algorithm,
String value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
algorithmResourceToString(org.apache.jena.rdf.model.Resource algorithmResource)
Deprecated.
|
static org.apache.jena.rdf.model.Resource |
algorithmStringToResource(String algorithm,
org.apache.jena.rdf.model.Model model)
Deprecated.
Converts a string algorithm to an RDF resource
|
SPDXChecksum |
clone()
Deprecated.
|
org.apache.jena.rdf.model.Resource |
createResource(org.apache.jena.rdf.model.Model model)
Deprecated.
Creates a resource from this SPDX Checksum
|
boolean |
equals(Object o)
Deprecated.
|
protected static org.apache.jena.rdf.model.Resource |
findSpdxChecksum(org.apache.jena.rdf.model.Model model,
SPDXChecksum checksum)
Deprecated.
|
String |
getAlgorithm()
Deprecated.
|
org.apache.jena.rdf.model.Resource |
getResource()
Deprecated.
|
String |
getValue()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setAlgorithm(String algorithm)
Deprecated.
|
void |
setValue(String value)
Deprecated.
|
List<String> |
verify()
Deprecated.
|
public SPDXChecksum(org.apache.jena.rdf.model.Model spdxModel,
org.apache.jena.graph.Node checksumNode)
throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionprotected static org.apache.jena.rdf.model.Resource findSpdxChecksum(org.apache.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 org.apache.jena.rdf.model.Resource algorithmStringToResource(String algorithm, org.apache.jena.rdf.model.Model model) throws InvalidSPDXAnalysisException
algorithm - InvalidSPDXAnalysisExceptionpublic static String algorithmResourceToString(org.apache.jena.rdf.model.Resource algorithmResource) throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getValue()
public void setValue(String value)
value - the value to setpublic org.apache.jena.rdf.model.Resource createResource(org.apache.jena.rdf.model.Model model)
model - public org.apache.jena.rdf.model.Resource getResource()
public SPDXChecksum clone()
Copyright © 2017 Linux Foundation. All Rights Reserved.