public final class UmlsJdbcConceptFactory extends Object implements ConceptFactory
Constructor and Description |
---|
UmlsJdbcConceptFactory(String name,
org.apache.uima.UimaContext uimaContext,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
Concept |
createConcept(Long cuiCode) |
Map<Long,Concept> |
createConcepts(Collection<Long> cuiCodes) |
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.
|
public UmlsJdbcConceptFactory(String name, org.apache.uima.UimaContext uimaContext, Properties properties) throws SQLException
SQLException
public String getName()
getName
in interface ConceptFactory
public Concept createConcept(Long cuiCode)
createConcept
in interface ConceptFactory
cuiCode
- concept unique identifierpublic Map<Long,Concept> createConcepts(Collection<Long> cuiCodes)
createConcepts
in interface ConceptFactory
cuiCodes
- concept unique identifiersCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.