@FunctionalInterface public interface ObjectPropertyProvider extends Serializable
Modifier and Type | Method and Description |
---|---|
default OWLObjectProperty |
getOWLObjectProperty(HasIRI iri)
Gets an instance of
OWLObjectProperty with the same IRI as the
input. |
OWLObjectProperty |
getOWLObjectProperty(IRI iri)
Gets an instance of
OWLObjectProperty that has the specified
IRI . |
default OWLObjectProperty |
getOWLObjectProperty(String iri)
Gets an instance of
OWLObjectProperty that has the specified
IRI . |
default OWLObjectProperty |
getOWLObjectProperty(String abbreviatedIRI,
PrefixManager prefixManager)
Gets an OWLObjectProperty that has an IRI that is obtained by expanding
an abbreviated name using an appropriate prefix mapping.
|
default OWLObjectProperty |
getOWLObjectProperty(String namespace,
String remainder)
Gets an instance of
OWLObjectProperty that has the specified
IRI . |
OWLObjectProperty getOWLObjectProperty(IRI iri)
OWLObjectProperty
that has the specified
IRI
.iri
- The IRI.OWLObjectProperty
that has the specified IRI.default OWLObjectProperty getOWLObjectProperty(HasIRI iri)
OWLObjectProperty
with the same IRI as the
input.iri
- The HasIRI instance.OWLObjectProperty
that has iri.getIRI() as IRI.default OWLObjectProperty getOWLObjectProperty(String iri)
OWLObjectProperty
that has the specified
IRI
. This is the same as
getOWLObjectProperty(IRI.create(iri))
.iri
- The IRI string.OWLObjectProperty
that has the specified IRI.default OWLObjectProperty getOWLObjectProperty(String namespace, @Nullable String remainder)
OWLObjectProperty
that has the specified
IRI
. This is the same as
getOWLObjectProperty(IRI.create(namespace, remainder))
.namespace
- The IRI namespaceremainder
- optional remainder or local nameOWLObjectProperty
that has the specified IRI.default OWLObjectProperty getOWLObjectProperty(String abbreviatedIRI, PrefixManager prefixManager)
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs always
contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.OWLRuntimeException
- if the prefix name in the specified abbreviated IRI does not have
a mapping to a prefix in the specified prefix manager.Copyright © 2020 The University of Manchester. All rights reserved.