apollo.datamodel.seq
Class DebugLazySequence

java.lang.Object
  extended by apollo.datamodel.AbstractSequence
      extended by apollo.datamodel.seq.AbstractLazySequence
          extended by apollo.datamodel.seq.DebugLazySequence
All Implemented Interfaces:
LazySequenceI, SequenceI, java.io.Serializable

public class DebugLazySequence
extends AbstractLazySequence
implements LazySequenceI

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class apollo.datamodel.seq.AbstractLazySequence
AbstractLazySequence.LazyLoadControlledObject
 
Field Summary
 
Fields inherited from class apollo.datamodel.seq.AbstractLazySequence
cacher, llco
 
Fields inherited from class apollo.datamodel.AbstractSequence
genomic_errors, genomicRange, length
 
Fields inherited from interface apollo.datamodel.SequenceI
AA, CLEAR_EDIT, DELETION, DNA, INSERTION, RNA, SUBSTITUTION
 
Constructor Summary
DebugLazySequence(java.lang.String id, Controller c, java.lang.String res)
           
 
Method Summary
 int getLength()
           
protected  java.lang.String getResiduesFromSourceImpl(int low, int high)
           
 SequenceI getSubSequence(int start, int end)
          Clean up dangling reference as listener to controller that will make old instances persist - no longer needed as doesnt listen to controller anymore
static void main(java.lang.String[] argv)
           
 void setResidues(java.lang.String seq)
           
 
Methods inherited from class apollo.datamodel.seq.AbstractLazySequence
createCacher, getCacher, getRange, getResiduesFromSource, getResiduesImpl, getResiduesImpl, isLazy, needInclusiveEnd, setCacher, setController
 
Methods inherited from class apollo.datamodel.AbstractSequence
addDbXref, addDbXref, addDbXref, addSequenceEdit, addSequencingErrorPosition, clearResidues, getAccessionNo, getBaseAt, getChecksum, getDbXrefs, getDescription, getFrame, getGenomicErrors, 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, 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.seq.LazySequenceI
getResiduesFromSource
 
Methods inherited from interface apollo.datamodel.SequenceI
addDbXref, addDbXref, addDbXref, addSequenceEdit, addSequencingErrorPosition, clearResidues, getAccessionNo, getBaseAt, getChecksum, getDbXrefs, getDescription, getFrame, getGenomicErrors, getName, getOrganism, getRange, getResidues, getResidues, getResidueType, getReverseComplement, getSequencingErrorAtPosition, hasName, hasResidues, hasResidueType, isAA, isLazy, isSequenceAvailable, isSequencingErrorPosition, removeSequenceEdit, setAccessionNo, setChecksum, setDate, setDescription, setLength, setName, setOrganism, setRange, setResidueType, usesGenomicCoords
 

Constructor Detail

DebugLazySequence

public DebugLazySequence(java.lang.String id,
                         Controller c,
                         java.lang.String res)
Method Detail

setResidues

public void setResidues(java.lang.String seq)
Specified by:
setResidues in interface SequenceI
Overrides:
setResidues in class AbstractSequence

getLength

public int getLength()
Specified by:
getLength in interface SequenceI
Overrides:
getLength in class AbstractSequence

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)
Specified by:
getResiduesFromSourceImpl in class AbstractLazySequence

main

public static void main(java.lang.String[] argv)