Interface WithoutAnnotations

All Superinterfaces:
org.semanticweb.owlapi.model.HasAnnotations, WithAnnotations
All Known Implementing Classes:
AnnotationAssertionTranslator.AxiomImpl.SimpleImpl, AnnotationPropertyDomainTranslator.AxiomImpl.SimpleImpl, AnnotationPropertyRangeTranslator.AxiomImpl.SimpleImpl, AsymmetricObjectPropertyTranslator.AxiomImpl.SimpleImpl, ClassAssertionTranslator.AxiomImpl.SimpleImpl, DataPropertyAssertionTranslator.AxiomImpl.SimpleImpl, DataPropertyDomainTranslator.AxiomImpl.SimpleImpl, DataPropertyRangeTranslator.AxiomImpl.SimpleImpl, DatatypeDefinitionTranslator.AxiomImpl.SimpleImpl, DeclarationTranslator.AxiomImpl.SimpleImpl, DifferentIndividualsTranslator.AxiomImpl.SimpleImpl, DisjointClassesTranslator.AxiomImpl.SimpleImpl, DisjointDataPropertiesTranslator.AxiomImpl.SimpleImpl, DisjointObjectPropertiesTranslator.AxiomImpl.SimpleImpl, EquivalentClassesTranslator.AxiomImpl.SimpleImpl, EquivalentDataPropertiesTranslator.AxiomImpl.SimpleImpl, EquivalentObjectPropertiesTranslator.AxiomImpl.SimpleImpl, FunctionalDataPropertyTranslator.AxiomImpl.SimpleImpl, FunctionalObjectPropertyTranslator.AxiomImpl.SimpleImpl, InverseFunctionalObjectPropertyTranslator.AxiomImpl.SimpleImpl, InverseObjectPropertiesTranslator.AxiomImpl.SimpleImpl, IrreflexiveObjectPropertyTranslator.AxiomImpl.SimpleImpl, ObjectPropertyAssertionTranslator.AxiomImpl.SimpleImpl, ObjectPropertyDomainTranslator.AxiomImpl.SimpleImpl, ObjectPropertyRangeTranslator.AxiomImpl.SimpleImpl, ONTAnnotationImpl.SimpleImpl, ReflexiveObjectPropertyTranslator.AxiomImpl.SimpleImpl, SameIndividualTranslator.AxiomImpl.SimpleImpl, SubAnnotationPropertyOfTranslator.AxiomImpl.SimpleImpl, SubClassOfTranslator.AxiomImpl.SimpleImpl, SubDataPropertyOfTranslator.AxiomImpl.SimpleImpl, SubObjectPropertyOfTranslator.AxiomImpl.SimpleImpl, SymmetricObjectPropertyTranslator.AxiomImpl.SimpleImpl, TransitiveObjectPropertyTranslator.AxiomImpl.SimpleImpl

public interface WithoutAnnotations extends WithAnnotations
A technical interface, a collection of default method-implementations of WithAnnotations. For simplification code.

Created by @szz on 01.10.2019.

Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default Stream<org.semanticweb.owlapi.model.OWLAnnotation>
    Lists all OWLAnnotations on this object.
    default List<org.semanticweb.owlapi.model.OWLAnnotation>
    Answers a sorted and distinct List of OWLAnnotations on this object.
    default boolean
    Answers true if this object (axiom or annotation) has sub-annotations.

    Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotations

    annotations, annotations, getAnnotations, getAnnotations
  • Method Details

    • isAnnotated

      default boolean isAnnotated()
      Description copied from interface: WithAnnotations
      Answers true if this object (axiom or annotation) has sub-annotations.
      Specified by:
      isAnnotated in interface WithAnnotations
      Returns:
      boolean
      See Also:
      • OWLAxiom.isAnnotated()
    • annotations

      default Stream<org.semanticweb.owlapi.model.OWLAnnotation> annotations()
      Description copied from interface: WithAnnotations
      Lists all OWLAnnotations on this object. The stream must be ordered, nonull, distinct and sorted.
      Specified by:
      annotations in interface org.semanticweb.owlapi.model.HasAnnotations
      Specified by:
      annotations in interface WithAnnotations
      Returns:
      a Stream of OWLAnnotations
      See Also:
      • HasAnnotations.annotations()
    • annotationsAsList

      default List<org.semanticweb.owlapi.model.OWLAnnotation> annotationsAsList()
      Description copied from interface: WithAnnotations
      Answers a sorted and distinct List of OWLAnnotations on this object. The returned List is unmodifiable.
      Specified by:
      annotationsAsList in interface org.semanticweb.owlapi.model.HasAnnotations
      Specified by:
      annotationsAsList in interface WithAnnotations
      Returns:
      an unmodifiable List of OWLAnnotations
      See Also:
      • HasAnnotations.annotationsAsList()