total annotation score is a double for maximum precision.
[jalview.git] / src / jalview / schemabinding / version2 / Annotation.java
index 61f9413..021fa8b 100755 (executable)
@@ -86,6 +86,26 @@ public class Annotation implements java.io.Serializable {
     private java.lang.String _id;\r
 \r
     /**\r
+     * Field _scoreOnly\r
+     */\r
+    private boolean _scoreOnly = false;\r
+\r
+    /**\r
+     * keeps track of state for field: _scoreOnly\r
+     */\r
+    private boolean _has_scoreOnly;\r
+\r
+    /**\r
+     * Field _score\r
+     */\r
+    private double _score;\r
+\r
+    /**\r
+     * keeps track of state for field: _score\r
+     */\r
+    private boolean _has_score;\r
+\r
+    /**\r
      * Field _annotationElementList\r
      */\r
     private java.util.Vector _annotationElementList;\r
@@ -184,6 +204,24 @@ public class Annotation implements java.io.Serializable {
     } //-- void deleteGraphType() \r
 \r
     /**\r
+     * Method deleteScore\r
+     * \r
+     */\r
+    public void deleteScore()\r
+    {\r
+        this._has_score= false;\r
+    } //-- void deleteScore() \r
+\r
+    /**\r
+     * Method deleteScoreOnly\r
+     * \r
+     */\r
+    public void deleteScoreOnly()\r
+    {\r
+        this._has_scoreOnly= false;\r
+    } //-- void deleteScoreOnly() \r
+\r
+    /**\r
      * Method enumerateAnnotationElement\r
      * \r
      * \r
@@ -321,6 +359,28 @@ public class Annotation implements java.io.Serializable {
     } //-- java.lang.String getLabel() \r
 \r
     /**\r
+     * Returns the value of field 'score'.\r
+     * \r
+     * @return double\r
+     * @return the value of field 'score'.\r
+     */\r
+    public double getScore()\r
+    {\r
+        return this._score;\r
+    } //-- double getScore() \r
+\r
+    /**\r
+     * Returns the value of field 'scoreOnly'.\r
+     * \r
+     * @return boolean\r
+     * @return the value of field 'scoreOnly'.\r
+     */\r
+    public boolean getScoreOnly()\r
+    {\r
+        return this._scoreOnly;\r
+    } //-- boolean getScoreOnly() \r
+\r
+    /**\r
      * Returns the value of field 'sequenceRef'.\r
      * \r
      * @return String\r
@@ -391,6 +451,30 @@ public class Annotation implements java.io.Serializable {
     } //-- boolean hasGraphType() \r
 \r
     /**\r
+     * Method hasScore\r
+     * \r
+     * \r
+     * \r
+     * @return boolean\r
+     */\r
+    public boolean hasScore()\r
+    {\r
+        return this._has_score;\r
+    } //-- boolean hasScore() \r
+\r
+    /**\r
+     * Method hasScoreOnly\r
+     * \r
+     * \r
+     * \r
+     * @return boolean\r
+     */\r
+    public boolean hasScoreOnly()\r
+    {\r
+        return this._has_scoreOnly;\r
+    } //-- boolean hasScoreOnly() \r
+\r
+    /**\r
      * Method isValid\r
      * \r
      * \r
@@ -569,6 +653,28 @@ public class Annotation implements java.io.Serializable {
     } //-- void setLabel(java.lang.String) \r
 \r
     /**\r
+     * Sets the value of field 'score'.\r
+     * \r
+     * @param score the value of field 'score'.\r
+     */\r
+    public void setScore(double score)\r
+    {\r
+        this._score = score;\r
+        this._has_score = true;\r
+    } //-- void setScore(double) \r
+\r
+    /**\r
+     * Sets the value of field 'scoreOnly'.\r
+     * \r
+     * @param scoreOnly the value of field 'scoreOnly'.\r
+     */\r
+    public void setScoreOnly(boolean scoreOnly)\r
+    {\r
+        this._scoreOnly = scoreOnly;\r
+        this._has_scoreOnly = true;\r
+    } //-- void setScoreOnly(boolean) \r
+\r
+    /**\r
      * Sets the value of field 'sequenceRef'.\r
      * \r
      * @param sequenceRef the value of field 'sequenceRef'.\r