public abstract class AbstractKnowledgeSourceBackend extends AbstractBackend<KnowledgeSourceBackendUpdatedEvent> implements KnowledgeSourceBackend
KnowledgeSourceBackend interface
to minimize the effort required to implement this interface.| Constructor and Description |
|---|
AbstractKnowledgeSourceBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Implemented as a no-op.
|
protected void |
fireKnowledgeSourceBackendUpdated()
Notifies registered listeners that the backend has been updated.
|
ValueSet |
readValueSet(String id)
A default implementation that returns
null. |
addBackendListener, fireBackendUpdated, fireEvent, fireUnrecoverableError, getConfigurationsId, getId, initialize, removeBackendListener, setEventListeners, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectPropDefDescendantsUsingAllNarrower, collectPropDefDescendantsUsingInverseIsA, collectPropIdDescendantsUsingAllNarrower, collectPropIdDescendantsUsingInverseIsA, getKnowledgeSourceSearchResults, readAbstractedInto, readAbstractionDefinition, readAbstractionDefinitions, readContextDefinition, readContextDefinitions, readInduces, readIsA, readPropositionDefinition, readPropositionDefinitions, readSubContextOfs, readTemporalPropositionDefinition, readTemporalPropositionDefinitionsaddBackendListener, getConfigurationsId, getDisplayName, getId, initialize, removeBackendListener, setEventListenerspublic ValueSet readValueSet(String id) throws KnowledgeSourceReadException
null. Override this
if your knowledge base contains value sets.readValueSet in interface KnowledgeSourceBackendid - a proposition id String.ValueSet, always null in
this implementation.KnowledgeSourceReadExceptionpublic void close()
close in interface Backend<KnowledgeSourceBackendUpdatedEvent>org.protempa.KnowledgeSourceBackend#close()protected void fireKnowledgeSourceBackendUpdated()
org.protempa.KnowledgeSourceBackendUpdatedEvent,
org.protempa.KnowledgeSourceBackendListenerCopyright © 2012–2018 Emory University. All rights reserved.