apollo.dataadapter.das
Class DASLazySequence
java.lang.Object
apollo.datamodel.AbstractSequence
apollo.datamodel.seq.AbstractLazySequence
apollo.dataadapter.das.DASLazySequence
- All Implemented Interfaces:
- LazySequenceI, SequenceI, java.io.Serializable
public class DASLazySequence
- extends AbstractLazySequence
- implements LazySequenceI
I am a Sequence class for implementing lazy load using a DASServer
- See Also:
- Serialized Form
| Methods inherited from class apollo.datamodel.AbstractSequence |
addDbXref, addDbXref, addDbXref, addSequenceEdit, addSequencingErrorPosition, clearResidues, getAccessionNo, getBaseAt, getChecksum, getDbXrefs, getDescription, getFrame, getGenomicErrors, getLength, getName, getOrganism, getResidues, getResidues, getResidueType, getReverseComplement, getSequencingErrorAtPosition, hasName, hasRange, hasResidues, hasResidueType, isAA, isNewerThan, isSequenceAvailable, isSequencingErrorPosition, needShiftFromOneToZeroBasedCoords, pegLimits, removeSequenceEdit, setAccessionNo, setChecksum, setDate, setDescription, setLength, setName, setNeedShiftFromOneToZeroBasedCoords, setOrganism, setRange, setResidues, setResidueType, shiftFromOneToZeroBased, usesGenomicCoords |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface apollo.datamodel.SequenceI |
addDbXref, addDbXref, addDbXref, addSequenceEdit, addSequencingErrorPosition, clearResidues, getAccessionNo, getBaseAt, getChecksum, getDbXrefs, getDescription, getFrame, getGenomicErrors, getLength, getName, getOrganism, getRange, getResidues, getResidues, getResidueType, getReverseComplement, getSequencingErrorAtPosition, hasName, hasResidues, hasResidueType, isAA, isLazy, isSequenceAvailable, isSequencingErrorPosition, removeSequenceEdit, setAccessionNo, setChecksum, setDate, setDescription, setLength, setName, setOrganism, setRange, setResidues, setResidueType, usesGenomicCoords |
DASLazySequence
public DASLazySequence(java.lang.String id,
Controller c,
RangeI loc,
DASServerI theServer,
DASDsn theDsn,
DASSegment theSegment)
getServer
public DASServerI getServer()
getDsn
public DASDsn getDsn()
getSegment
public DASSegment getSegment()
getSubSequence
public SequenceI getSubSequence(int start,
int end)
- Description copied from class:
AbstractLazySequence
- Clean up dangling reference as listener to controller that will make
old instances persist - no longer needed as doesnt listen to controller
anymore
- Specified by:
getSubSequence in interface SequenceI- Specified by:
getSubSequence in class AbstractLazySequence
getResiduesFromSourceImpl
protected java.lang.String getResiduesFromSourceImpl(int low,
int high)
- Returns the sequence string
- Specified by:
getResiduesFromSourceImpl in class AbstractLazySequence