edu.mssm.crover.representation
Interface BiologicalAnnotation

All Superinterfaces:
RootObject, java.io.Serializable
All Known Implementing Classes:
Annotation

public interface BiologicalAnnotation
extends RootObject, java.io.Serializable

Represents a single annotation. Single annotations are intended to be inserted in a BiologicalAnnotations.

Author:
Fabien Campagne
See Also:
BiologicalAnnotations

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.
 BiologicalOrigin getOrigin()
          Obtain the origin of this annotation.
 void setOrigin(BiologicalOrigin x)
          Sets the origin for this annotation.
 

Method Detail

getOrigin

public BiologicalOrigin getOrigin()
Obtain the origin of this annotation.


setOrigin

public void setOrigin(BiologicalOrigin x)
Sets the origin for this annotation.


getInfo

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


describesResidue

public boolean describesResidue(int position)
Returns whether the position is described by this annotation.



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