fixes JAL-778 - flag to indicate binding between an alignment panel and Jmol view...
[jalview.git] / src / jalview / schemabinding / version2 / DBRef.java
index e6c4220..4d67250 100644 (file)
@@ -41,6 +41,11 @@ public class DBRef implements java.io.Serializable {
      */\r
     private java.lang.String _accessionId;\r
 \r
+    /**\r
+     * Field _mapping.\r
+     */\r
+    private jalview.schemabinding.version2.Mapping _mapping;\r
+\r
 \r
       //----------------/\r
      //- Constructors -/\r
@@ -66,6 +71,16 @@ public class DBRef implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'mapping'.\r
+     * \r
+     * @return the value of field 'Mapping'.\r
+     */\r
+    public jalview.schemabinding.version2.Mapping getMapping(\r
+    ) {\r
+        return this._mapping;\r
+    }\r
+\r
+    /**\r
      * Returns the value of field 'source'.\r
      * \r
      * @return the value of field 'Source'.\r
@@ -143,6 +158,16 @@ public class DBRef implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Sets the value of field 'mapping'.\r
+     * \r
+     * @param mapping the value of field 'mapping'.\r
+     */\r
+    public void setMapping(\r
+            final jalview.schemabinding.version2.Mapping mapping) {\r
+        this._mapping = mapping;\r
+    }\r
+\r
+    /**\r
      * Sets the value of field 'source'.\r
      * \r
      * @param source the value of field 'source'.\r