licenseText, osiApproved, standardLicenseHeader, standardLicenseTemplatecomment, licenseId, name, seeAlsomodel, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
SpdxListedLicense(IModelContainer modelContainer,
org.apache.jena.graph.Node licenseNode)
Constructs an SPDX License from the licenseNode
|
SpdxListedLicense(String name,
String id,
String text,
String[] sourceUrl,
String comments,
String standardLicenseHeader,
String template,
boolean osiApproved) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getType(org.apache.jena.rdf.model.Model model) |
String |
getUri(IModelContainer modelContainer)
Get the URI for this RDF object.
|
List<String> |
verify() |
clone, copyFrom, equals, getLicenseText, getNotes, getPropertiesFromModel, getStandardLicenseHeader, getStandardLicenseTemplate, hashCode, isOsiApproved, populateModel, setLicenseText, setNotes, setOsiApproved, setStandardLicenseHeader, setStandardLicenseTemplate, toStringfindDuplicateResource, getComment, getLicenseId, getName, getSeeAlso, setComment, setLicenseId, setName, setSeeAlsogetResourceaddPropertyUriValue, 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, 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, setSingleObjectForSameNodepublic SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved) throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic SpdxListedLicense(IModelContainer modelContainer, org.apache.jena.graph.Node licenseNode) throws InvalidSPDXAnalysisException
modelContainer - container which includes the licenselicenseNode - RDF graph node representing the SPDX LicenseInvalidSPDXAnalysisExceptionpublic org.apache.jena.rdf.model.Resource getType(org.apache.jena.rdf.model.Model model)
getType in class RdfModelObjectpublic String getUri(IModelContainer modelContainer) throws InvalidSPDXAnalysisException
RdfModelObjectgetUri in class SimpleLicensingInfoInvalidSPDXAnalysisExceptionpublic boolean equivalent(IRdfModel compare)
IRdfModelequivalent in interface IRdfModelequivalent in class LicenseCopyright © 2017 Linux Foundation. All Rights Reserved.