Uses of Interface
org.apache.jena.ontapi.model.OntAnnotation
Packages that use OntAnnotation
-
Uses of OntAnnotation in org.apache.jena.ontapi.impl.objects
Classes in org.apache.jena.ontapi.impl.objects that implement OntAnnotationFields in org.apache.jena.ontapi.impl.objects with type parameters of type OntAnnotationModifier and TypeFieldDescriptionstatic final Comparator<OntAnnotation>
OntAnnotationImpl.DEFAULT_ANNOTATION_COMPARATOR
The first are annotations with the most numerous assertions and children, the remaining comparison operations are not so important, but the provided order should be preserved after graph reload.Methods in org.apache.jena.ontapi.impl.objects that return OntAnnotationModifier and TypeMethodDescriptionstatic OntAnnotation
OntAnnotationImpl.createAnnotation
(org.apache.jena.rdf.model.Model model, org.apache.jena.rdf.model.Statement base, org.apache.jena.rdf.model.Resource type) Creates a new annotation b-node resource with the given type and base statement.Methods in org.apache.jena.ontapi.impl.objects that return types with arguments of type OntAnnotationModifier and TypeMethodDescriptionOntStatementImpl.annotationResources()
OntAnnotationImpl.descendants()
OntStatementImpl.getAnnotationList()
Returns theList
of annotations sorted by some internal order.org.apache.jena.util.iterator.ExtendedIterator<OntAnnotation>
OntStatementImpl.listAnnotationResources()
Returns the iterator of annotation objects attached to this statement.org.apache.jena.util.iterator.ExtendedIterator<OntAnnotation>
OntAnnotationImpl.listDescendants()
Returns an iterator over all descendants of this ont-annotation resource.Methods in org.apache.jena.ontapi.impl.objects with parameters of type OntAnnotationModifier and TypeMethodDescriptionstatic org.apache.jena.util.iterator.ExtendedIterator<OntStatement>
OntAnnotationImpl.listRelatedStatements
(OntAnnotation annotation) Lists annotation assertions plus sub-annotation root statements. -
Uses of OntAnnotation in org.apache.jena.ontapi.model
Methods in org.apache.jena.ontapi.model that return types with arguments of type OntAnnotationModifier and TypeMethodDescriptionOntStatement.annotationResources()
Returns the stream of the annotation objects attached to this statement.default Optional<OntAnnotation>
OntStatement.asAnnotationResource()
Returns the primary annotation object (resource) which is related to this statement.OntAnnotation.descendants()
Lists all descendants of this ont-annotation resource.default List<OntAnnotation>
OntStatement.getAnnotationList()
Returns the annotation objects attached to this statement in the form ofList
with a fixed order.default Optional<OntAnnotation>
OntAnnotation.parent()
Answers a parentOntAnnotation
.