public class BioSQLCrossReferenceResolver extends Object implements CrossReferenceResolver
Constructor and Description |
---|
BioSQLCrossReferenceResolver(Object session)
Requires a Hibernate session to work correctly.
|
Modifier and Type | Method and Description |
---|---|
BioEntry |
getRemoteBioEntry(CrossRef cr)
Given the
CrossRef return the corresponding
BioEntry |
SymbolList |
getRemoteSymbolList(CrossRef cr,
Alphabet a)
Given a cross reference, return the corresponding symbol list.
|
public BioSQLCrossReferenceResolver(Object session)
public SymbolList getRemoteSymbolList(CrossRef cr, Alphabet a)
getRemoteSymbolList
in interface CrossReferenceResolver
cr
- the cross reference to look up.a
- the alphabet to construct the infinitely ambiguous symbol list
over if it cannot be found.public BioEntry getRemoteBioEntry(CrossRef cr)
CrossRef
return the corresponding
BioEntry
getRemoteBioEntry
in interface CrossReferenceResolver
cr
- the cross referenceRichSequence
or null if it cannot be found.Copyright © 2014 BioJava. All rights reserved.