public interface BidirectionalShortFormProvider extends ShortFormProvider
Modifier and Type | Method and Description |
---|---|
Stream<OWLEntity> |
entities(String shortForm)
For a given short form this method obtains the entities which have this short form.
|
default Set<OWLEntity> |
getEntities(String shortForm)
For a given short form this method obtains the entities which have this short form.
|
OWLEntity |
getEntity(String shortForm)
A convenience method which gets an entity from its short form.
|
default Set<String> |
getShortForms()
Gets all of the short forms that are mapped to entities.
|
Stream<String> |
shortForms()
Gets all of the short forms that are mapped to entities.
|
dispose, getShortForm
default Set<OWLEntity> getEntities(String shortForm)
shortForm
- The short form of the entities that will be retrieved.Stream<OWLEntity> entities(String shortForm)
shortForm
- The short form of the entities that will be retrieved.@Nullable OWLEntity getEntity(String shortForm)
shortForm
- The short form of the entity.null
if there is no entity which has the specified short
form. If the specified short form corresponds to more than one entity then an entity
will be chosen by the implementation of the short form provider.default Set<String> getShortForms()
Copyright © 2020 The University of Manchester. All rights reserved.