public class ExternalSpdxElement extends SpdxElement
annotations, comment, name, relationshipsmodel, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
ExternalSpdxElement(String id) |
| Modifier and Type | Method and Description |
|---|---|
ExternalSpdxElement |
clone() |
boolean |
equivalent(IRdfModel o)
Returns true if the compare object contains properties which would be equal if they were contained in the same RDF Model
|
boolean |
equivalent(IRdfModel o,
boolean testRelationships)
Test for equivalent
|
String |
getExternalDocumentId() |
String |
getExternalElementId() |
void |
getPropertiesFromModel()
Fetch all of the properties from the model and populate the local Java properties
|
String |
getUri(IModelContainer modelContainer)
Get the URI for this RDF object.
|
void |
populateModel()
Populate the RDF model from the Java properties
|
void |
setId(String id)
The ID is a unique identify for the SPDX element.
|
List<String> |
verify() |
addAnnotation, addNameToWarnings, addRelationship, arraysEquivalent, arraysEquivalent, clone, cloneAnnotations, cloneRelationships, equivalentConsideringNull, equivalentConsideringNull, getAnnotations, getComment, getId, getName, getNamePropertyName, getRelationships, getType, setAnnotations, setComment, setName, setRelationships, toStringaddPropertyUriValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, createResource, createResource, equals, 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, hashCode, 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 ExternalSpdxElement(String id) throws InvalidSPDXAnalysisException
id - SPDX ID used for referencing this external element. Format ExternalSPDXRef:SPDXIDInvalidSPDXAnalysisExceptionpublic void setId(String id) throws InvalidSPDXAnalysisException
SpdxElementsetId in class SpdxElementInvalidSPDXAnalysisExceptionpublic String getExternalDocumentId() throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getExternalElementId() throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getUri(IModelContainer modelContainer) throws InvalidSPDXAnalysisException
RdfModelObjectgetUri in class SpdxElementInvalidSPDXAnalysisExceptionpublic boolean equivalent(IRdfModel o)
IRdfModelequivalent in interface IRdfModelequivalent in class SpdxElementpublic boolean equivalent(IRdfModel o, boolean testRelationships)
SpdxElementequivalent in class SpdxElementtestRelationships - If true, test relationshipspublic ExternalSpdxElement clone()
clone in class SpdxElementpublic List<String> verify()
verify in interface IRdfModelverify in class SpdxElementpublic void getPropertiesFromModel()
throws InvalidSPDXAnalysisException
RdfModelObjectgetPropertiesFromModel in class SpdxElementInvalidSPDXAnalysisExceptionpublic void populateModel()
throws InvalidSPDXAnalysisException
RdfModelObjectpopulateModel in class SpdxElementInvalidSPDXAnalysisExceptionCopyright © 2017 Linux Foundation. All Rights Reserved.