Interface OWLObjectProperty

All Superinterfaces:
AsOWLAnnotationProperty, AsOWLClass, AsOWLDataProperty, AsOWLDatatype, AsOWLNamedIndividual, AsOWLObjectProperty, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasIRI, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLEntity, OWLLogicalEntity, OWLNamedObject, OWLObject, OWLObjectPropertyExpression, OWLPrimitive, OWLProperty, OWLPropertyExpression, Serializable, SWRLPredicate
All Known Implementing Classes:
OWLObjectPropertyImpl

public interface OWLObjectProperty extends OWLObjectPropertyExpression, OWLProperty
Represents an Object Property in the OWL 2 Specification.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • 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.
    • typeIndex

      default int typeIndex()
      Specified by:
      typeIndex in interface HasIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a sorting index for the types.
    • getEntityType

      default EntityType<?> getEntityType()
      Description copied from interface: OWLEntity
      Gets the entity type for this entity.
      Specified by:
      getEntityType in interface OWLEntity
      Returns:
      The entity type
    • getNamedProperty

      default OWLObjectProperty getNamedProperty()
      Description copied from interface: OWLObjectPropertyExpression
      Get the named object property used in this property expression.
      Specified by:
      getNamedProperty in interface OWLObjectPropertyExpression
      Returns:
      P if this expression is either inv(P) or P.
    • isOWLObjectProperty

      default boolean isOWLObjectProperty()
      Description copied from interface: AsOWLObjectProperty
      A convenience method that determines if this entity is an OWLObjectProperty.
      Specified by:
      isOWLObjectProperty in interface AsOWLObjectProperty
      Returns:
      true if this entity is an OWLObjectProperty, otherwise false
    • isTopEntity

      default boolean isTopEntity()
      Description copied from interface: OWLObject
      Determines if this object is either, owl:Thing (the top class), owl:topObjectProperty (the top object property) , owl:topDataProperty (the top data property) or rdfs:Literal (the top datatype).
      Specified by:
      isTopEntity in interface OWLObject
      Returns:
      true if this object corresponds to one of the above entities.
    • isBottomEntity

      default boolean isBottomEntity()
      Description copied from interface: OWLObject
      Determines if this object is either, owl:Nothing (the bottom class), owl:bottomObjectProperty (the bottom object property) , owl:bottomDataProperty (the bottom data property).
      Specified by:
      isBottomEntity in interface OWLObject
      Returns:
      true if this object corresponds to one of the above entities.
    • isOWLTopObjectProperty

      default boolean isOWLTopObjectProperty()
      Description copied from interface: OWLPropertyExpression
      Determines if this is the owl:topObjectProperty.
      Specified by:
      isOWLTopObjectProperty in interface OWLPropertyExpression
      Returns:
      true if this property is the owl:topObjectProperty otherwise false
    • isOWLBottomObjectProperty

      default boolean isOWLBottomObjectProperty()
      Description copied from interface: OWLPropertyExpression
      Determines if this is the owl:bottomObjectProperty.
      Specified by:
      isOWLBottomObjectProperty in interface OWLPropertyExpression
      Returns:
      true if this property is the owl:bottomObjectProperty 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(OWLPropertyExpressionVisitor visitor)
      Specified by:
      accept in interface OWLPropertyExpression
      Parameters:
      visitor - visitor to accept
    • accept

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

      default void accept(OWLEntityVisitor visitor)
      Specified by:
      accept in interface OWLEntity
      Parameters:
      visitor - visitor
    • accept

      default <O> O accept(OWLEntityVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLEntity
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor
      Returns:
      visitor return value
    • accept

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

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