Interface AsOWLObjectProperty

All Known Subinterfaces:
OWLAnnotationProperty, OWLClass, OWLDataProperty, OWLDataPropertyExpression, OWLDatatype, OWLEntity, OWLLogicalEntity, OWLNamedIndividual, OWLObjectInverseOf, OWLObjectProperty, OWLObjectPropertyExpression, OWLProperty, OWLPropertyExpression
All Known Implementing Classes:
OWL2DatatypeImpl, OWLAnnotationPropertyImpl, OWLClassImpl, OWLDataPropertyImpl, OWLDatatypeImpl, OWLNamedIndividualImpl, OWLObjectInverseOfImpl, OWLObjectPropertyImpl

public interface AsOWLObjectProperty
Convert to OWLObjectProperty interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    A convenience method that obtains this entity as an OWLObjectProperty (in order to avoid explicit casting).
    default boolean
    A convenience method that determines if this entity is an OWLObjectProperty.
  • Method Details

    • isOWLObjectProperty

      default boolean isOWLObjectProperty()
      A convenience method that determines if this entity is an OWLObjectProperty.
      Returns:
      true if this entity is an OWLObjectProperty, otherwise false
    • asOWLObjectProperty

      default OWLObjectProperty asOWLObjectProperty()
      A convenience method that obtains this entity as an OWLObjectProperty (in order to avoid explicit casting).
      Returns:
      The entity as an OWLObjectProperty.
      Throws:
      OWLRuntimeException - if this entity is not an OWLObjectProperty (check with the isOWLObjectProperty() method first).