public class ByteOffsetPointer extends SinglePointer
referencemodel, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
ByteOffsetPointer(IModelContainer modelContainer,
org.apache.jena.graph.Node node) |
ByteOffsetPointer(SpdxElement reference,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
ByteOffsetPointer |
clone() |
int |
compareTo(SinglePointer o) |
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
|
Integer |
getOffset() |
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.
|
void |
populateModel()
Populate the RDF model from the Java properties
|
void |
setOffset(Integer offset) |
String |
toString() |
List<String> |
verify() |
compareReferences, getReference, setReferenceaddPropertyUriValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, arraysEquivalent, createResource, createResource, equals, 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, 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 ByteOffsetPointer(SpdxElement reference, int offset)
public ByteOffsetPointer(IModelContainer modelContainer, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisException
modelContainer - node - InvalidSPDXAnalysisExceptionpublic void getPropertiesFromModel()
throws InvalidSPDXAnalysisException
RdfModelObjectgetPropertiesFromModel in class SinglePointerInvalidSPDXAnalysisExceptionpublic 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 RdfModelObjectpublic void populateModel()
throws InvalidSPDXAnalysisException
RdfModelObjectpopulateModel in class SinglePointerInvalidSPDXAnalysisExceptionpublic boolean equivalent(IRdfModel o)
IRdfModelequivalent in interface IRdfModelequivalent in class SinglePointerpublic Integer getOffset()
public void setOffset(Integer offset)
offset - the offset to setpublic List<String> verify()
verify in interface IRdfModelverify in class SinglePointerpublic ByteOffsetPointer clone()
clone in class SinglePointerpublic int compareTo(SinglePointer o)
Copyright © 2018 Linux Foundation. All Rights Reserved.