public class SPDXNonStandardLicense extends SPDXLicense
id| Constructor and Description |
|---|
SPDXNonStandardLicense(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.graph.Node licenseInfoNode) |
SPDXNonStandardLicense(String licenseID,
String licenseText) |
SPDXNonStandardLicense(String id,
String text,
String licenseName,
String[] crossReferenceUrls,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
protected com.hp.hpl.jena.rdf.model.Resource |
_createResource(com.hp.hpl.jena.rdf.model.Model model)
Internal implementation of create resource which is subclass specific
|
boolean |
equals(Object o) |
String |
getComment() |
String |
getLicenseName() |
String[] |
getSourceUrls() |
String |
getText() |
int |
hashCode() |
void |
setComment(String comment)
Set the license comment
|
void |
setLicenseName(String name) |
void |
setSourceUrls(String[] urls) |
void |
setText(String text) |
String |
toString() |
ArrayList<String> |
verify() |
_createResource, _createResource, getId, setIdcreateResource, getResourcepublic SPDXNonStandardLicense(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.graph.Node licenseInfoNode)
throws InvalidSPDXAnalysisException
model - licenseInfoNode - InvalidSPDXAnalysisExceptionpublic SPDXNonStandardLicense(String id, String text, String licenseName, String[] crossReferenceUrls, String comment)
protected com.hp.hpl.jena.rdf.model.Resource _createResource(com.hp.hpl.jena.rdf.model.Model model)
SPDXLicenseInfo_createResource in class SPDXLicenseInfopublic String toString()
toString in class SPDXLicenseInfopublic String getText()
public void setText(String text)
text - the text to setpublic String getComment()
public void setComment(String comment)
comment - public void setSourceUrls(String[] urls)
public void setLicenseName(String name)
public int hashCode()
hashCode in class SPDXLicensepublic boolean equals(Object o)
equals in class SPDXLicensepublic ArrayList<String> verify()
verify in class SPDXLicenseInfopublic String getLicenseName()
public String[] getSourceUrls()
Copyright © 2014 Linux Foundation. All Rights Reserved.