public class SyscodeBasedCodeMapper extends Object implements CodeMapper
| Constructor and Description |
|---|
SyscodeBasedCodeMapper() |
| Modifier and Type | Method and Description |
|---|---|
IdSysCodePair |
toIdSysCodePair(Xref xref)
Creates an IdSysCodePair based on a xref.
|
Xref |
toXref(IdSysCodePair pair)
Creates a xref based on an IdSysCodePair
Changes the ref.id and dataSource.systemCode if required.
|
public IdSysCodePair toIdSysCodePair(Xref xref)
CodeMappertoIdSysCodePair in interface CodeMapperpublic Xref toXref(IdSysCodePair pair) throws BridgeDBException
CodeMappertoXref in interface CodeMapperBridgeDBException - Normally thrown if the pair is invalid, incomplete or can not be converted to a valid xref.
If the syscode does not convert to a valid DataSourceCopyright © 2006–2019 BridgeDb project. All rights reserved.