Package org.semanticweb.owlapi.model
Interface AsOWLAnnotationProperty
- 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 AsOWLAnnotationProperty
Convert to OWLAnnotationProperty interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault OWLAnnotationProperty
A convenience method that obtains this entity as an OWLAnnotationProperty (in order to avoid explicit casting).default boolean
A convenience method that determines if this entity is an OWLAnnotationProperty.
-
Method Details
-
isOWLAnnotationProperty
default boolean isOWLAnnotationProperty()A convenience method that determines if this entity is an OWLAnnotationProperty.- Returns:
true
if this entity is an OWLAnnotationProperty, otherwisefalse
-
asOWLAnnotationProperty
A convenience method that obtains this entity as an OWLAnnotationProperty (in order to avoid explicit casting).- Returns:
- The entity as an OWLAnnotationProperty.
- Throws:
OWLRuntimeException
- if this entity is not an OWLAnnotationProperty
-