public class WithExceptionOperator extends AnyLicenseInfo
model, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
WithExceptionOperator(AnyLicenseInfo license,
LicenseException exception) |
WithExceptionOperator(IModelContainer modelContainer,
org.apache.jena.graph.Node licenseInfoNode)
Create a WithExceptionOperator from a node in an existing RDF model
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jena.rdf.model.Resource |
_createResource(org.apache.jena.rdf.model.Resource type) |
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
|
LicenseException |
getException() |
AnyLicenseInfo |
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 |
setException(LicenseException exception) |
void |
setLicense(AnyLicenseInfo 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 WithExceptionOperator(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode) throws InvalidSPDXAnalysisException
modelContainer - contains the modellicenseInfoNode - Node which defines the WithExceptionOperatorInvalidSPDXAnalysisExceptionpublic WithExceptionOperator(AnyLicenseInfo license, LicenseException exception)
protected org.apache.jena.rdf.model.Resource _createResource(org.apache.jena.rdf.model.Resource type)
throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic AnyLicenseInfo getLicense()
public void setLicense(AnyLicenseInfo license) throws InvalidSPDXAnalysisException
license - the license to setInvalidSPDXAnalysisExceptionpublic LicenseException getException()
public void setException(LicenseException exception) throws InvalidSPDXAnalysisException
exception - the exception 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 © 2018 Linux Foundation. All Rights Reserved.