Interface OWLObjectPropertyAssertionAxiom

All Superinterfaces:
Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnnotations, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObject<OWLIndividual>, HasObjectPropertiesInSignature, HasProperty<OWLObjectPropertyExpression>, HasSignature, HasSubject<OWLIndividual>, IsAnonymous, OWLAxiom, OWLIndividualAxiom, OWLLogicalAxiom, OWLObject, OWLPropertyAssertionAxiom<OWLObjectPropertyExpression,OWLIndividual>, OWLSubClassOfAxiomShortCut, Serializable
All Known Implementing Classes:
OWLObjectPropertyAssertionAxiomImpl

public interface OWLObjectPropertyAssertionAxiom extends OWLPropertyAssertionAxiom<OWLObjectPropertyExpression,OWLIndividual>, OWLSubClassOfAxiomShortCut
Represents an ObjectPropertyAssertion axiom in the OWL 2 Specification.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • getAxiomWithoutAnnotations

      OWLObjectPropertyAssertionAxiom getAxiomWithoutAnnotations()
      Description copied from interface: OWLAxiom
      Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations.
      Specified by:
      getAxiomWithoutAnnotations in interface OWLAxiom
      Returns:
      The axiom without annotations
    • hashIndex

      default int hashIndex()
      Specified by:
      hashIndex in interface HasHashIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a hashcode for the types.
    • getSimplified

      Gets a simplified version of this object property axiom. This is defined recursively as follows:
      • ObjectPropertyAssertion(P S O) = ObjectPropertyAssertion(P S O)
      • ObjectPropertyAssertion(ObjectInverseOf(P) S O) = ObjectPropertyAssertion(P O S)
      Returns:
      the simplified version
    • isInSimplifiedForm

      boolean isInSimplifiedForm()
      Determines if this axiom is in a simplified form, i.e. a form where the property is not a property inverse. ObjectPropertyAssertion(P S O) is in a simplified form, where as ObjectPropertyAssertion(ObjectInverseOf(P) S O) is not because it contains an inverse object property.
      Returns:
      true if this axiom is in a simplified form, otherwise false
    • accept

      default void accept(OWLObjectVisitor visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Parameters:
      visitor - The visitor
    • accept

      default <O> O accept(OWLObjectVisitorEx<O> visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - The visitor
      Returns:
      visitor value
    • accept

      default void accept(OWLAxiomVisitor visitor)
      Specified by:
      accept in interface OWLAxiom
      Parameters:
      visitor - visitor to accept
    • accept

      default <O> O accept(OWLAxiomVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLAxiom
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor to accept
      Returns:
      visitor value
    • getAxiomType

      default AxiomType<?> getAxiomType()
      Description copied from interface: OWLAxiom
      Gets the axiom type for this axiom.
      Specified by:
      getAxiomType in interface OWLAxiom
      Returns:
      The axiom type that corresponds to the type of this axiom.