public class OrLaterOperator extends AnyLicenseInfo
model, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
OrLaterOperator(IModelContainer modelContainer,
org.apache.jena.graph.Node licenseInfoNode)
Create an OrLaterOperator from a node in an existing RDF model
|
OrLaterOperator(SimpleLicensingInfo license) |
| Modifier and Type | Method and Description |
|---|---|
AnyLicenseInfo |
clone() |
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
|
SimpleLicensingInfo |
getLicense() |
void |
getPropertiesFromModel()
Fetch all of the properties from the model and populate the local Java properties
|
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.
|
int |
hashCode() |
void |
populateModel()
Populate the RDF model from the Java properties
|
void |
setLicense(SimpleLicensingInfo license) |
String |
toString() |
List<String> |
verify() |
getResourceaddPropertyUriValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, arraysEquivalent, createResource, createResource, equivalentConsideringNull, findAnnotationPropertyValues, findAnyLicenseInfoPropertyValue, findAnyLicenseInfoPropertyValues, findChecksumPropertyValue, findCreationInfoPropertyValue, findDuplicateResource, 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 OrLaterOperator(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode) throws InvalidSPDXAnalysisException
enclosingSpdxDocument - document which includes the licenselicenseInfoNode - Node that defines the OrLaterOperatorInvalidSPDXAnalysisExceptionpublic OrLaterOperator(SimpleLicensingInfo license)
public SimpleLicensingInfo getLicense()
public void setLicense(SimpleLicensingInfo license) throws InvalidSPDXAnalysisException
license - the license to setInvalidSPDXAnalysisExceptionpublic String toString()
toString in class AnyLicenseInfopublic boolean equals(Object o)
equals in class AnyLicenseInfopublic int hashCode()
hashCode in class AnyLicenseInfopublic List<String> verify()
public AnyLicenseInfo clone()
clone in class AnyLicenseInfopublic boolean equivalent(IRdfModel compare)
IRdfModelpublic void populateModel()
throws InvalidSPDXAnalysisException
RdfModelObjectpopulateModel in class AnyLicenseInfoInvalidSPDXAnalysisExceptionpublic void getPropertiesFromModel()
throws InvalidSPDXAnalysisException
RdfModelObjectgetPropertiesFromModel in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic String getUri(IModelContainer modelContainer) throws InvalidSPDXAnalysisException
RdfModelObjectgetUri in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic org.apache.jena.rdf.model.Resource getType(org.apache.jena.rdf.model.Model model)
getType in class RdfModelObjectCopyright © 2017 Linux Foundation. All Rights Reserved.