public abstract class AbstractTermSourceBackend extends AbstractBackend<TermSourceBackendUpdatedEvent> implements TermSourceBackend
| Constructor and Description |
|---|
AbstractTermSourceBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Implemented as a no-op
|
protected void |
fireTermSourceBackendUpdated() |
String |
getDisplayName()
A default implementation that returns null
|
List<String> |
getSubsumption(String id)
A default implementation that returns null
|
Term |
readTerm(String id)
A default implementation that returns null
|
Map<String,Term> |
readTerms(String[] ids)
A default implementation that returns null
|
addBackendListener, fireBackendUpdated, fireUnrecoverableError, getConfigurationsId, getId, initialize, removeBackendListener, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBackendListener, getConfigurationsId, getId, initialize, removeBackendListenerpublic Term readTerm(String id) throws TermSourceReadException
readTerm in interface TermSourceBackendid - the term to findTerm matching the given term in the given terminologyTermSourceReadException - if the TermSource is unreadableTermSourceBackend.readTerm(java.lang.String)public Map<String,Term> readTerms(String[] ids) throws TermSourceReadException
readTerms in interface TermSourceBackendids - the terms to findTerms matching the given terms in the given
terminologyTermSourceReadException - if the TermSource is unreadableTermSourceBackend.readTerms(String[])public void close()
close in interface Backend<TermSourceBackendUpdatedEvent>Backend.close()public String getDisplayName()
getDisplayName in interface Backend<TermSourceBackendUpdatedEvent>String.Backend.getDisplayName()public List<String> getSubsumption(String id) throws TermSourceReadException
getSubsumption in interface TermSourceBackendid - the term whose descendants are to be retrievedList of Strings that are the term IDs of the
descendents of the given termTermSourceReadException - if the TermSource is unreadableTermSourceBackend.getSubsumption(java.lang.String)protected void fireTermSourceBackendUpdated()
Copyright © 2012–2016 Emory University. All rights reserved.