public abstract class SimpleLicensingInfo extends AnyLicenseInfo
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
licenseId |
protected String |
name |
protected String[] |
seeAlso |
model, modelContainer, node, refreshOnGet, resource| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object comp) |
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
|
org.apache.jena.rdf.model.Resource |
findDuplicateResource(IModelContainer modelContainer,
String uri)
Search the model to see if there is a duplicate resource either based on the
URI or based on other information.
|
String |
getComment() |
String |
getLicenseId() |
String |
getName() |
void |
getPropertiesFromModel()
Fetch all of the properties from the model and populate the local Java properties
|
String[] |
getSeeAlso() |
String |
getUri(IModelContainer modelContainer)
Get the URI for this RDF object.
|
int |
hashCode() |
void |
populateModel()
Populate the RDF model from the Java properties
|
void |
setComment(String comment) |
void |
setLicenseId(String id) |
void |
setName(String name) |
void |
setSeeAlso(String[] seeAlsoUrl) |
clone, getResource, toStringaddPropertyUriValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, arraysEquivalent, createResource, createResource, equivalentConsideringNull, findAnnotationPropertyValues, findAnyLicenseInfoPropertyValue, findAnyLicenseInfoPropertyValues, findChecksumPropertyValue, findCreationInfoPropertyValue, findElementPropertyValue, findExternalDocRefPropertyValues, findExternalDocRefPropertyValues, findExternalRefPropertyValues, findIntPropertyValue, findMultipleChecksumPropertyValues, findMultipleDoapPropertyValues, findMultipleElementPropertyValues, findMultiplePropertyValues, findReferenceTypePropertyValue, findRelationshipPropertyValues, findReviewPropertyValues, findSinglePointerPropertyValue, findSinglePropertyValue, findStartEndPointerPropertyValues, findUriPropertyValue, findUriPropertyValues, findVerificationCodePropertyValue, getNode, getType, isRefreshOnGet, removePropertyValue, resourcesEqual, setMultipleObjectsForSameNode, setPropertyUriValue, setPropertyUriValues, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setSingleObjectForSameNodeprotected String licenseId
protected String comment
protected String name
protected String[] seeAlso
public void getPropertiesFromModel()
throws InvalidSPDXAnalysisException
RdfModelObjectgetPropertiesFromModel in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic String getLicenseId()
public void setLicenseId(String id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getComment()
public void setComment(String comment)
comment - the comment to setpublic String[] getSeeAlso()
public void setSeeAlso(String[] seeAlsoUrl)
seeAlsoUrl - the urls which are references to the same license to setpublic org.apache.jena.rdf.model.Resource findDuplicateResource(IModelContainer modelContainer, String uri) throws InvalidSPDXAnalysisException
RdfModelObjectfindDuplicateResource in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic void populateModel()
throws InvalidSPDXAnalysisException
RdfModelObjectpopulateModel in class AnyLicenseInfoInvalidSPDXAnalysisExceptionpublic int hashCode()
hashCode in class AnyLicenseInfopublic boolean equals(Object comp)
equals in class AnyLicenseInfopublic boolean equivalent(IRdfModel compare)
IRdfModelpublic String getUri(IModelContainer modelContainer) throws InvalidSPDXAnalysisException
RdfModelObjectgetUri in class RdfModelObjectInvalidSPDXAnalysisExceptionCopyright © 2017 Linux Foundation. All Rights Reserved.