public interface CodeMapper
| 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.
|
IdSysCodePair toIdSysCodePair(Xref xref) throws BridgeDBException
xref - BridgeDBException - Normally thrown if the xref is invalid or incomplete.Xref toXref(IdSysCodePair pair) throws BridgeDBException
pair - BridgeDBException - 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–2020 BridgeDb project. All rights reserved.