AlignmentAnnotations require id
[jalview.git] / src / jalview / schemabinding / version2 / Annotation.java
index ec9b84c..61f9413 100755 (executable)
@@ -81,6 +81,11 @@ public class Annotation implements java.io.Serializable {
     private boolean _has_graphGroup;\r
 \r
     /**\r
+     * Field _id\r
+     */\r
+    private java.lang.String _id;\r
+\r
+    /**\r
      * Field _annotationElementList\r
      */\r
     private java.util.Vector _annotationElementList;\r
@@ -294,6 +299,17 @@ public class Annotation implements java.io.Serializable {
     } //-- int getGraphType() \r
 \r
     /**\r
+     * Returns the value of field 'id'.\r
+     * \r
+     * @return String\r
+     * @return the value of field 'id'.\r
+     */\r
+    public java.lang.String getId()\r
+    {\r
+        return this._id;\r
+    } //-- java.lang.String getId() \r
+\r
+    /**\r
      * Returns the value of field 'label'.\r
      * \r
      * @return String\r
@@ -533,6 +549,16 @@ public class Annotation implements java.io.Serializable {
     } //-- void setGraphType(int) \r
 \r
     /**\r
+     * Sets the value of field 'id'.\r
+     * \r
+     * @param id the value of field 'id'.\r
+     */\r
+    public void setId(java.lang.String id)\r
+    {\r
+        this._id = id;\r
+    } //-- void setId(java.lang.String) \r
+\r
+    /**\r
      * Sets the value of field 'label'.\r
      * \r
      * @param label the value of field 'label'.\r