edu.mssm.crover.representation
Class Annotation
java.lang.Object
|
+--edu.mssm.crover.representation.Annotation
- All Implemented Interfaces:
- BiologicalAnnotation, RootObject, java.io.Serializable
- Direct Known Subclasses:
- Color_Annotation, Disulfide_Annotation, Domain_Annotation, Domain2D_Annotation, Mutation_Annotation, ResidueAnnotation, SecondaryStructure_Annotation, SequenceOrigin_Annotation, Spacer_Annotation, TmDomain_Annotation, URL_Annotation
- public abstract class Annotation
- extends java.lang.Object
- implements BiologicalAnnotation, java.io.Serializable
Default implementation of BiologicaAnnotation.
- Author:
- Fabien Campagne.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 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
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.