| Constructor and Description |
|---|
LicenseException() |
LicenseException(IModelContainer modelContainer,
org.apache.jena.graph.Node node) |
LicenseException(String exceptionId) |
LicenseException(String licenseExceptionId,
String name,
String licenseExceptionText) |
LicenseException(String licenseExceptionId,
String name,
String licenseExceptionText,
String[] seeAlso,
String comment,
String example) |
| Modifier and Type | Method and Description |
|---|---|
LicenseException |
clone() |
org.apache.jena.rdf.model.Resource |
createResource(IModelContainer modelContainer)
If a resource does not already exist in this model for this object,
create a new resource and populate it.
|
boolean |
equals(Object o) |
boolean |
equivalent(IRdfModel compare)
Returns true if the compare object contains properties which would be equal if they were contained in the same RDF Model
|
static org.apache.jena.graph.Node |
findException(org.apache.jena.rdf.model.Model model,
String id)
Searches the model for a exception with the ID
|
String |
getComment() |
String |
getExample() |
static String |
getExceptionTextFromModel(org.apache.jena.rdf.model.Model model,
org.apache.jena.graph.Node exceptionNode)
Get the exception text from the model
|
String |
getLicenseExceptionId() |
String |
getLicenseExceptionText() |
String |
getName() |
String[] |
getSeeAlso() |
int |
hashCode() |
void |
setComment(String comment) |
void |
setExample(String example) |
void |
setLicenseExceptionId(String id) |
void |
setLicenseExceptionText(String text) |
void |
setMultipleObjectsForSameNode()
Called to signal that there are multiple objects representing the same node
|
void |
setName(String name) |
void |
setSeeAlso(String[] url) |
void |
setSingleObjectForSameNode()
Called to signal that a newly created resource is only used for a single node
|
String |
toString() |
List<String> |
verify() |
public LicenseException(IModelContainer modelContainer, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic LicenseException(String licenseExceptionId, String name, String licenseExceptionText, String[] seeAlso, String comment, String example)
licenseExceptionId - Exception ID - short form IDname - Full name of the ExceptionlicenseExceptionText - Text for the Exceptioncomment - Comments on the exceptionexample - Example of useseeAlso - URL references to external sources for the exceptionpublic LicenseException(String licenseExceptionId, String name, String licenseExceptionText)
licenseExceptionId - Exception ID - short form IDname - Full name of the ExceptionlicenseExceptionText - Text for the Exceptionpublic LicenseException()
public LicenseException(String exceptionId)
token - public org.apache.jena.rdf.model.Resource createResource(IModelContainer modelContainer) throws InvalidSPDXAnalysisException
createResource in interface IRdfModelmodel - InvalidSPDXAnalysisExceptionpublic static String getExceptionTextFromModel(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node exceptionNode)
model - exceptionNode - public static org.apache.jena.graph.Node findException(org.apache.jena.rdf.model.Model model,
String id)
model - id - public String getLicenseExceptionId()
public void setLicenseExceptionId(String id) throws InvalidSPDXAnalysisException
id - the id to setInvalidSPDXAnalysisExceptionpublic String getName()
public void setName(String name)
name - the name to setpublic String getLicenseExceptionText()
public void setLicenseExceptionText(String text)
text - the text to setpublic String[] getSeeAlso()
public void setSeeAlso(String[] url)
url - the sourceUrl to setpublic String getComment()
public void setComment(String comment)
public String getExample()
public void setExample(String example)
public LicenseException clone()
public boolean equivalent(IRdfModel compare)
IRdfModelequivalent in interface IRdfModelpublic void setMultipleObjectsForSameNode()
IRdfModelsetMultipleObjectsForSameNode in interface IRdfModelpublic void setSingleObjectForSameNode()
IRdfModelsetSingleObjectForSameNode in interface IRdfModelCopyright © 2017 Linux Foundation. All Rights Reserved.