public abstract class AbstractCommonsKnowledgeSourceBackend extends AbstractKnowledgeSourceBackend
| Constructor and Description |
|---|
AbstractCommonsKnowledgeSourceBackend() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns the name of this backend for display in user interfaces.
|
String |
getId() |
void |
initialize(BackendInstanceSpec config)
Initializes the backend from a
BackendInstanceSpec. |
protected String |
nameForErrors() |
void |
setId(String id) |
close, fireKnowledgeSourceBackendUpdated, getPropositionsByTerm, getPropositionsByTermSubsumption, readValueSetaddBackendListener, fireBackendUpdated, fireEvent, fireUnrecoverableError, getConfigurationsId, removeBackendListener, setEventListenersclone, 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, removeBackendListener, setEventListenerspublic AbstractCommonsKnowledgeSourceBackend()
public void initialize(BackendInstanceSpec config) throws BackendInitializationException
BackendBackendInstanceSpec. It is called
for you by BackendInstanceSpec.getInstance(), but if you
create a Backend object yourself, you must call this manually
before using it.initialize in interface Backend<KnowledgeSourceBackendUpdatedEvent>initialize in class AbstractBackend<KnowledgeSourceBackendUpdatedEvent>config - the configuration Properties object.BackendInitializationExceptionpublic final String getDisplayName()
BackendString.protected final String nameForErrors()
public final void setId(String id)
setId in class AbstractBackend<KnowledgeSourceBackendUpdatedEvent>public final String getId()
getId in interface Backend<KnowledgeSourceBackendUpdatedEvent>getId in class AbstractBackend<KnowledgeSourceBackendUpdatedEvent>Copyright © 2012–2017 Emory University. All rights reserved.