edu.mssm.crover.representation
Interface BiologicalAnnotation

All Superinterfaces:
RootObject, Serializable
All Known Implementing Classes:
Annotation, Color_Annotation, Disulfide_Annotation, Domain_Annotation, Domain2D_Annotation, Extended_ColorAnnotation, ExtendedSS_Annotation, Line_Annotation, Mutation_Annotation, ResidueAnnotation, SecondaryStructure_Annotation, SequenceOrigin_Annotation, Spacer_Annotation, TM_Annotation, TmDomain_Annotation, URL_Annotation

public interface BiologicalAnnotation
extends RootObject, 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.
 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

BiologicalOrigin getOrigin()
Obtain the origin of this annotation.


setOrigin

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


getInfo

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

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

Returns:
true when the annotation is pertinent for this residue, false otherwise.


Copyright © 2004 Weill Cornell Medical College. All Rights Reserved.