edu.mssm.crover.representation
Class ResidueAnnotation

java.lang.Object
  |
  +--edu.mssm.crover.representation.Annotation
        |
        +--edu.mssm.crover.representation.ResidueAnnotation
All Implemented Interfaces:
BiologicalAnnotation, RootObject, java.io.Serializable

public class ResidueAnnotation
extends Annotation

Flag residues in a sequence.

Author:
luce
See Also:
Serialized Form

Field Summary
 int[] flagged_residues
           
 java.lang.String[] info
           
 
Fields inherited from class edu.mssm.crover.representation.Annotation
origin
 
Constructor Summary
ResidueAnnotation()
           
 
Method Summary
 boolean describesResidue(int position)
          Returns whether the position is described by this annotation.
 java.lang.String getInfo()
          Returns a consise text that describes the nature of this annotation.
 java.lang.String getResInfo(int position)
           
 void initFlaggedResidues(int seq_length)
           
 boolean isResidueFlagged(int position)
           
 void setFlaggedResidue(int position)
           
 void setResidueInfo(int position, java.lang.String info)
           
 
Methods inherited from class edu.mssm.crover.representation.Annotation
getOrigin, setOrigin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

flagged_residues

public int[] flagged_residues

info

public java.lang.String[] info
Constructor Detail

ResidueAnnotation

public ResidueAnnotation()
Method Detail

initFlaggedResidues

public void initFlaggedResidues(int seq_length)

setFlaggedResidue

public void setFlaggedResidue(int position)

setResidueInfo

public void setResidueInfo(int position,
                           java.lang.String info)

getResInfo

public java.lang.String getResInfo(int position)

isResidueFlagged

public boolean isResidueFlagged(int position)

describesResidue

public boolean describesResidue(int position)
Description copied from interface: BiologicalAnnotation
Returns whether the position is described by this annotation.


getInfo

public java.lang.String getInfo()
Description copied from interface: BiologicalAnnotation
Returns a consise text that describes the nature of this annotation. This text is constant over several instances of the same class.

Specified by:
getInfo in interface BiologicalAnnotation
Specified by:
getInfo in class Annotation


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.