public interface AsOWLClass
Modifier and Type | Method and Description |
---|---|
default OWLClass |
asOWLClass()
A convenience method that obtains this entity as an OWLClass (in order to avoid explicit
casting).
|
default boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass.
|
default boolean isOWLClass()
true
if this entity is an OWLClass, otherwise false
default OWLClass asOWLClass()
OWLRuntimeException
- if this entity is not an OWLClass (check with
isOWLClass()
first).Copyright © 2020 The University of Manchester. All rights reserved.