|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.db.biosql.BioSQLCrossReferenceResolver
public class BioSQLCrossReferenceResolver
A simple implementation of CrossReferenceResolver
Constructor Summary | |
---|---|
BioSQLCrossReferenceResolver(Object session)
Requires a Hibernate session to work correctly. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BioSQLCrossReferenceResolver(Object session)
Method Detail |
---|
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 reference
RichSequence
or null if it cannot be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |