Class AxiomImpl

java.lang.Object
com.github.owlcs.ontapi.owlapi.OWLObjectImpl
com.github.owlcs.ontapi.owlapi.axioms.AxiomImpl
All Implemented Interfaces:
Serializable, Comparable<org.semanticweb.owlapi.model.OWLObject>, org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature, org.semanticweb.owlapi.model.HasAnnotations, org.semanticweb.owlapi.model.HasAnonymousIndividuals, org.semanticweb.owlapi.model.HasClassesInSignature, org.semanticweb.owlapi.model.HasComponents, org.semanticweb.owlapi.model.HasContainsEntityInSignature, org.semanticweb.owlapi.model.HasDataPropertiesInSignature, org.semanticweb.owlapi.model.HasDatatypesInSignature, org.semanticweb.owlapi.model.HasHashIndex, org.semanticweb.owlapi.model.HasIndex, org.semanticweb.owlapi.model.HasIndividualsInSignature, org.semanticweb.owlapi.model.HasObjectPropertiesInSignature, org.semanticweb.owlapi.model.HasSignature, org.semanticweb.owlapi.model.IsAnonymous, org.semanticweb.owlapi.model.OWLAxiom, org.semanticweb.owlapi.model.OWLObject
Direct Known Subclasses:
AnnotationAssertionAxiomImpl, AnnotationPropertyDomainAxiomImpl, AnnotationPropertyRangeAxiomImpl, DatatypeDefinitionAxiomImpl, DeclarationAxiomImpl, LogicalAxiomImpl, SubAnnotationPropertyOfAxiomImpl

public abstract class AxiomImpl extends OWLObjectImpl implements org.semanticweb.owlapi.model.OWLAxiom
See Also:
  • Field Details

    • annotations

      protected final List<org.semanticweb.owlapi.model.OWLAnnotation> annotations
  • Constructor Details

    • AxiomImpl

      public AxiomImpl(Collection<org.semanticweb.owlapi.model.OWLAnnotation> annotations)
      Parameters:
      annotations - a Collection of annotations on the axiom
  • Method Details

    • annotations

      public Stream<org.semanticweb.owlapi.model.OWLAnnotation> annotations()
      Specified by:
      annotations in interface org.semanticweb.owlapi.model.HasAnnotations
    • annotationsAsList

      public List<org.semanticweb.owlapi.model.OWLAnnotation> annotationsAsList()
      Specified by:
      annotationsAsList in interface org.semanticweb.owlapi.model.HasAnnotations
    • isAnnotated

      public boolean isAnnotated()
      Specified by:
      isAnnotated in interface org.semanticweb.owlapi.model.OWLAxiom
    • getNNF

      public org.semanticweb.owlapi.model.OWLAxiom getNNF()
      Specified by:
      getNNF in interface org.semanticweb.owlapi.model.OWLAxiom