String vamsasId;\r
Vector dbrefs;\r
\r
+ /** This annotation is displayed below the alignment but the\r
+ * positions are tied to the residues of this sequence */\r
+ Vector annotation;\r
\r
/** DOCUMENT ME!! */\r
public Vector sequenceFeatures;\r
return datasetSequence;\r
}\r
\r
+ public AlignmentAnnotation [] getAnnotation()\r
+ {\r
+ if(annotation==null)\r
+ return null;\r
+\r
+ AlignmentAnnotation [] ret = new AlignmentAnnotation[annotation.size()];\r
+ for(int r = 0; r<ret.length; r++)\r
+ ret[r] = (AlignmentAnnotation)annotation.elementAt(r);\r
+\r
+ return ret;\r
+ }\r
+\r
+ public void addAlignmentAnnotation(AlignmentAnnotation annotation)\r
+ {\r
+ if(this.annotation==null)\r
+ this.annotation = new Vector();\r
+\r
+ this.annotation.addElement( annotation );\r
+ }\r
+\r
}\r
public void setDatasetSequence(SequenceI seq);\r
\r
public SequenceI getDatasetSequence();\r
+\r
+ public AlignmentAnnotation [] getAnnotation();\r
+\r
+ public void addAlignmentAnnotation(AlignmentAnnotation annotation);\r
+\r
}\r