|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.lexgrid.loader.rrf.staging.JdbcMrconsoStagingDao
public class JdbcMrconsoStagingDao
The Class JdbcMrconsoStagingDao.
Field Summary | |
---|---|
protected java.lang.String |
getCodeFromAui
The get code from aui. |
protected java.lang.String |
getCodeFromCuiAndAui
The get code from cui and aui. |
protected java.lang.String |
getCodesFromCui
|
protected java.lang.String |
getCodesFromCuiAndSab
The get codes from cui and sab. |
protected java.lang.String |
getCuiFromAui
|
protected java.lang.String |
getCuiFromAuiAndSab
The get cui from aui and sab. |
protected java.lang.String |
getCuisFromCode
|
protected StatusTrackingLogger |
logger
The log. |
protected java.lang.String |
PREFIX_PLACEHOLDER
The PREFI x_ placeholder. |
protected java.lang.String |
TABLENAME_PLACEHOLDER
The TABLENAM e_ placeholder. |
Constructor Summary | |
---|---|
JdbcMrconsoStagingDao()
|
Method Summary | |
---|---|
CodeCodingSchemePair |
getCodeAndCodingScheme(java.lang.String cui,
java.lang.String aui)
Gets the code and coding scheme. |
CodeSabPair |
getCodeAndSab(java.lang.String cui,
java.lang.String aui)
Gets the code and sab. |
java.lang.String |
getCodeFromAui(java.lang.String aui)
Gets the code from aui. |
java.util.List<java.lang.String> |
getCodes(java.lang.String cui,
java.lang.String sab)
Gets the codes. |
java.util.List<java.lang.String> |
getCodesFromCui(java.lang.String cui)
|
java.lang.String |
getCuiFromAui(java.lang.String aui)
|
java.lang.String |
getCuiFromAuiAndSab(java.lang.String aui,
java.lang.String sab)
Gets the cui from aui and sab. |
java.util.List<java.lang.String> |
getCuisFromCode(java.lang.String code)
|
MrsabUtility |
getMrsabUtility()
Gets the mrsab utility. |
java.lang.String |
getPrefix()
Gets the prefix. |
java.lang.String |
getTableName()
Gets the table name. |
void |
setMrsabUtility(MrsabUtility mrsabUtility)
Sets the mrsab utility. |
protected java.lang.String |
setPlaceholders(java.lang.String sql)
Sets the placeholders. |
void |
setPrefix(java.lang.String prefix)
Sets the prefix. |
void |
setTableName(java.lang.String tableName)
Sets the table name. |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
---|
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StatusTrackingLogger logger
protected final java.lang.String PREFIX_PLACEHOLDER
protected final java.lang.String TABLENAME_PLACEHOLDER
protected java.lang.String getCodeFromCuiAndAui
protected java.lang.String getCodesFromCuiAndSab
protected java.lang.String getCodeFromAui
protected java.lang.String getCuiFromAuiAndSab
protected java.lang.String getCuiFromAui
protected java.lang.String getCuisFromCode
protected java.lang.String getCodesFromCui
Constructor Detail |
---|
public JdbcMrconsoStagingDao()
Method Detail |
---|
public CodeSabPair getCodeAndSab(java.lang.String cui, java.lang.String aui)
MrconsoStagingDao
getCodeAndSab
in interface MrconsoStagingDao
cui
- the cuiaui
- the aui
public java.util.List<java.lang.String> getCodes(java.lang.String cui, java.lang.String sab)
MrconsoStagingDao
getCodes
in interface MrconsoStagingDao
cui
- the cuisab
- the sab
public java.lang.String getCodeFromAui(java.lang.String aui)
MrconsoStagingDao
getCodeFromAui
in interface MrconsoStagingDao
aui
- the aui
public java.util.List<java.lang.String> getCodesFromCui(java.lang.String cui)
getCodesFromCui
in interface MrconsoStagingDao
public java.lang.String getCuiFromAuiAndSab(java.lang.String aui, java.lang.String sab)
MrconsoStagingDao
getCuiFromAuiAndSab
in interface MrconsoStagingDao
aui
- the auisab
- the sab
public java.lang.String getCuiFromAui(java.lang.String aui)
getCuiFromAui
in interface MrconsoStagingDao
public CodeCodingSchemePair getCodeAndCodingScheme(java.lang.String cui, java.lang.String aui)
MrconsoStagingDao
getCodeAndCodingScheme
in interface MrconsoStagingDao
cui
- the cuiaui
- the aui
public java.util.List<java.lang.String> getCuisFromCode(java.lang.String code)
getCuisFromCode
in interface MrconsoStagingDao
protected java.lang.String setPlaceholders(java.lang.String sql)
sql
- the sql
public MrsabUtility getMrsabUtility()
public void setMrsabUtility(MrsabUtility mrsabUtility)
mrsabUtility
- the new mrsab utilitypublic java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- the new prefixpublic java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- the new table name
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |