public final class UmlsJdbcConceptFactory extends java.lang.Object implements ConceptFactory
Modifier and Type | Field and Description |
---|---|
private ConceptFactory |
_delegateConceptFactory |
private static Logger |
LOGGER |
Constructor and Description |
---|
UmlsJdbcConceptFactory(java.lang.String name,
UimaContext uimaContext,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
Concept |
createConcept(java.lang.Long cuiCode) |
java.util.Map<java.lang.Long,Concept> |
createConcepts(java.util.Collection<java.lang.Long> cuiCodes) |
java.lang.String |
getName()
The Type identifier and Name are used to maintain a collection of dictionaries,
so the combination of Type and Name should be unique for each dictionary if possible.
|
private static final Logger LOGGER
private final ConceptFactory _delegateConceptFactory
public UmlsJdbcConceptFactory(java.lang.String name, UimaContext uimaContext, java.util.Properties properties) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getName()
getName
in interface ConceptFactory
public Concept createConcept(java.lang.Long cuiCode)
createConcept
in interface ConceptFactory
cuiCode
- concept unique identifierpublic java.util.Map<java.lang.Long,Concept> createConcepts(java.util.Collection<java.lang.Long> cuiCodes)
createConcepts
in interface ConceptFactory
cuiCodes
- concept unique identifiers