public abstract class SPDXLicense extends SPDXLicenseInfo
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Resource |
_createResource(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource type) |
protected com.hp.hpl.jena.rdf.model.Resource |
_createResource(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource type,
String uri)
Create a basic SPDXLicense resource of a given type
If a license with this ID already exists in the model, then that resource
is returned.
|
boolean |
equals(Object comp) |
String |
getId() |
int |
hashCode() |
void |
setId(String id) |
_createResource, createResource, getResource, toString, verifyprotected String id
public String getId()
public void setId(String id)
id - the id to setprotected com.hp.hpl.jena.rdf.model.Resource _createResource(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource type,
String uri)
model - uri - typeURI - public int hashCode()
hashCode in class SPDXLicenseInfopublic boolean equals(Object comp)
equals in class SPDXLicenseInfopublic com.hp.hpl.jena.rdf.model.Resource _createResource(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource type)
model - type - Copyright © 2014 Linux Foundation. All Rights Reserved.