edu.mssm.crover.representation
Class Annotation
java.lang.Object
edu.mssm.crover.representation.Annotation
- All Implemented Interfaces:
- BiologicalAnnotation, Serializable
- Direct Known Subclasses:
- Mutation_Annotation, SequenceOrigin_Annotation, URL_Annotation
public abstract class Annotation
- extends Object
- implements BiologicalAnnotation
Default implementation of BiologicalAnnotation.
- Author:
- Fabien Campagne.
- See Also:
- Serialized Form
origin
protected BiologicalOrigin origin
Annotation
protected Annotation()
Annotation
protected Annotation(BiologicalOrigin o)
getOrigin
public BiologicalOrigin getOrigin()
- Returns the origin of this sequence.
- Specified by:
getOrigin in interface BiologicalAnnotation
setOrigin
public void setOrigin(BiologicalOrigin x)
- Sets the origin of this annotation. Origins are referenced, not
duplicated.
- Specified by:
setOrigin in interface BiologicalAnnotation
- Parameters:
x - the origin that is to be referenced by this annotation.
getInfo
public abstract 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
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2009 Institute for Computational Biomedicine, All Rights Reserved.