Merge branch 'develop' into features/JAL-653_gffalignments
[jalview.git] / src / jalview / schemabinding / version2 / CalcIdParam.java
index b516af6..9fc3384 100644 (file)
@@ -1,27 +1,14 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
- * 
- * This file is part of Jalview.
- * 
- * Jalview is free software: you can redistribute it and/or
- * modify it under the terms of the GNU General Public License 
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *  
- * Jalview is distributed in the hope that it will be useful, but 
- * WITHOUT ANY WARRANTY; without even the implied warranty 
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
- * PURPOSE.  See the GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
- * The Jalview Authors are detailed in the 'AUTHORS' file.
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
+ * Schema.
+ * $Id$
  */
+
 package jalview.schemabinding.version2;
 
-//---------------------------------/
-//- Imported classes and packages -/
+  //---------------------------------/
+ //- Imported classes and packages -/
 //---------------------------------/
 
 import org.exolab.castor.xml.Marshaller;
@@ -32,271 +19,265 @@ import org.exolab.castor.xml.Unmarshaller;
  * 
  * @version $Revision$ $Date$
  */
-public class CalcIdParam extends WebServiceParameterSet implements
-        java.io.Serializable
+public class CalcIdParam extends WebServiceParameterSet 
+implements java.io.Serializable
 {
 
-  // --------------------------/
-  // - Class/Member Variables -/
-  // --------------------------/
-
-  /**
-   * handle for the calculation which uses this parameter set
-   */
-  private java.lang.String _calcId;
-
-  /**
-   * should the calculation be performed immediately after loading in order to
-   * refresh results
-   */
-  private boolean _needsUpdate = false;
-
-  /**
-   * keeps track of state for field: _needsUpdate
-   */
-  private boolean _has_needsUpdate;
-
-  /**
-   * should the calculation be automatically performed on edits
-   */
-  private boolean _autoUpdate;
-
-  /**
-   * keeps track of state for field: _autoUpdate
-   */
-  private boolean _has_autoUpdate;
-
-  // ----------------/
-  // - Constructors -/
-  // ----------------/
-
-  public CalcIdParam()
-  {
-    super();
-  }
-
-  // -----------/
-  // - Methods -/
-  // -----------/
-
-  /**
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * handle for the calculation which uses this parameter set
+     */
+    private java.lang.String _calcId;
+
+    /**
+     * should the calculation be performed immediately after
+     * loading in order to refresh results
+     */
+    private boolean _needsUpdate = false;
+
+    /**
+     * keeps track of state for field: _needsUpdate
+     */
+    private boolean _has_needsUpdate;
+
+    /**
+     * should the calculation be automatically performed on edits
+     */
+    private boolean _autoUpdate;
+
+    /**
+     * keeps track of state for field: _autoUpdate
+     */
+    private boolean _has_autoUpdate;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public CalcIdParam() {
+        super();
+    }
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     */
+    public void deleteAutoUpdate(
+    ) {
+        this._has_autoUpdate= false;
+    }
+
+    /**
+     */
+    public void deleteNeedsUpdate(
+    ) {
+        this._has_needsUpdate= false;
+    }
+
+    /**
+     * Returns the value of field 'autoUpdate'. The field
+     * 'autoUpdate' has the following description: should the
+     * calculation be automatically performed on edits
+     * 
+     * @return the value of field 'AutoUpdate'.
+     */
+    public boolean getAutoUpdate(
+    ) {
+        return this._autoUpdate;
+    }
+
+    /**
+     * Returns the value of field 'calcId'. The field 'calcId' has
+     * the following description: handle for the calculation which
+     * uses this parameter set
+     * 
+     * @return the value of field 'CalcId'.
+     */
+    public java.lang.String getCalcId(
+    ) {
+        return this._calcId;
+    }
+
+    /**
+     * Returns the value of field 'needsUpdate'. The field
+     * 'needsUpdate' has the following description: should the
+     * calculation be performed immediately after loading in order
+     * to refresh results
+     * 
+     * @return the value of field 'NeedsUpdate'.
      */
-  public void deleteAutoUpdate()
-  {
-    this._has_autoUpdate = false;
-  }
+    public boolean getNeedsUpdate(
+    ) {
+        return this._needsUpdate;
+    }
+
+    /**
+     * Method hasAutoUpdate.
+     * 
+     * @return true if at least one AutoUpdate has been added
+     */
+    public boolean hasAutoUpdate(
+    ) {
+        return this._has_autoUpdate;
+    }
+
+    /**
+     * Method hasNeedsUpdate.
+     * 
+     * @return true if at least one NeedsUpdate has been added
+     */
+    public boolean hasNeedsUpdate(
+    ) {
+        return this._has_needsUpdate;
+    }
+
+    /**
+     * Returns the value of field 'autoUpdate'. The field
+     * 'autoUpdate' has the following description: should the
+     * calculation be automatically performed on edits
+     * 
+     * @return the value of field 'AutoUpdate'.
+     */
+    public boolean isAutoUpdate(
+    ) {
+        return this._autoUpdate;
+    }
+
+    /**
+     * Returns the value of field 'needsUpdate'. The field
+     * 'needsUpdate' has the following description: should the
+     * calculation be performed immediately after loading in order
+     * to refresh results
+     * 
+     * @return the value of field 'NeedsUpdate'.
+     */
+    public boolean isNeedsUpdate(
+    ) {
+        return this._needsUpdate;
+    }
+
+    /**
+     * Method isValid.
+     * 
+     * @return true if this object is valid according to the schema
+     */
+    public boolean isValid(
+    ) {
+        try {
+            validate();
+        } catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * 
+     * 
+     * @param out
+     * @throws org.exolab.castor.xml.MarshalException if object is
+     * null or if any SAXException is thrown during marshaling
+     * @throws org.exolab.castor.xml.ValidationException if this
+     * object is an invalid instance according to the schema
+     */
+    public void marshal(
+            final java.io.Writer out)
+    throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
+        Marshaller.marshal(this, out);
+    }
+
+    /**
+     * 
+     * 
+     * @param handler
+     * @throws java.io.IOException if an IOException occurs during
+     * marshaling
+     * @throws org.exolab.castor.xml.ValidationException if this
+     * object is an invalid instance according to the schema
+     * @throws org.exolab.castor.xml.MarshalException if object is
+     * null or if any SAXException is thrown during marshaling
+     */
+    public void marshal(
+            final org.xml.sax.ContentHandler handler)
+    throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
+        Marshaller.marshal(this, handler);
+    }
+
+    /**
+     * Sets the value of field 'autoUpdate'. The field 'autoUpdate'
+     * has the following description: should the calculation be
+     * automatically performed on edits
+     * 
+     * @param autoUpdate the value of field 'autoUpdate'.
+     */
+    public void setAutoUpdate(
+            final boolean autoUpdate) {
+        this._autoUpdate = autoUpdate;
+        this._has_autoUpdate = true;
+    }
+
+    /**
+     * Sets the value of field 'calcId'. The field 'calcId' has the
+     * following description: handle for the calculation which uses
+     * this parameter set
+     * 
+     * @param calcId the value of field 'calcId'.
+     */
+    public void setCalcId(
+            final java.lang.String calcId) {
+        this._calcId = calcId;
+    }
+
+    /**
+     * Sets the value of field 'needsUpdate'. The field
+     * 'needsUpdate' has the following description: should the
+     * calculation be performed immediately after loading in order
+     * to refresh results
+     * 
+     * @param needsUpdate the value of field 'needsUpdate'.
+     */
+    public void setNeedsUpdate(
+            final boolean needsUpdate) {
+        this._needsUpdate = needsUpdate;
+        this._has_needsUpdate = true;
+    }
+
+    /**
+     * Method unmarshal.
+     * 
+     * @param reader
+     * @throws org.exolab.castor.xml.MarshalException if object is
+     * null or if any SAXException is thrown during marshaling
+     * @throws org.exolab.castor.xml.ValidationException if this
+     * object is an invalid instance according to the schema
+     * @return the unmarshaled
+     * jalview.schemabinding.version2.CalcIdParam
+     */
+    public static jalview.schemabinding.version2.CalcIdParam unmarshal(
+            final java.io.Reader reader)
+    throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
+        return (jalview.schemabinding.version2.CalcIdParam) Unmarshaller.unmarshal(jalview.schemabinding.version2.CalcIdParam.class, reader);
+    }
 
-  /**
+    /**
+     * 
+     * 
+     * @throws org.exolab.castor.xml.ValidationException if this
+     * object is an invalid instance according to the schema
      */
-  public void deleteNeedsUpdate()
-  {
-    this._has_needsUpdate = false;
-  }
-
-  /**
-   * Returns the value of field 'autoUpdate'. The field 'autoUpdate' has the
-   * following description: should the calculation be automatically performed on
-   * edits
-   * 
-   * @return the value of field 'AutoUpdate'.
-   */
-  public boolean getAutoUpdate()
-  {
-    return this._autoUpdate;
-  }
-
-  /**
-   * Returns the value of field 'calcId'. The field 'calcId' has the following
-   * description: handle for the calculation which uses this parameter set
-   * 
-   * @return the value of field 'CalcId'.
-   */
-  public java.lang.String getCalcId()
-  {
-    return this._calcId;
-  }
-
-  /**
-   * Returns the value of field 'needsUpdate'. The field 'needsUpdate' has the
-   * following description: should the calculation be performed immediately
-   * after loading in order to refresh results
-   * 
-   * @return the value of field 'NeedsUpdate'.
-   */
-  public boolean getNeedsUpdate()
-  {
-    return this._needsUpdate;
-  }
-
-  /**
-   * Method hasAutoUpdate.
-   * 
-   * @return true if at least one AutoUpdate has been added
-   */
-  public boolean hasAutoUpdate()
-  {
-    return this._has_autoUpdate;
-  }
-
-  /**
-   * Method hasNeedsUpdate.
-   * 
-   * @return true if at least one NeedsUpdate has been added
-   */
-  public boolean hasNeedsUpdate()
-  {
-    return this._has_needsUpdate;
-  }
-
-  /**
-   * Returns the value of field 'autoUpdate'. The field 'autoUpdate' has the
-   * following description: should the calculation be automatically performed on
-   * edits
-   * 
-   * @return the value of field 'AutoUpdate'.
-   */
-  public boolean isAutoUpdate()
-  {
-    return this._autoUpdate;
-  }
-
-  /**
-   * Returns the value of field 'needsUpdate'. The field 'needsUpdate' has the
-   * following description: should the calculation be performed immediately
-   * after loading in order to refresh results
-   * 
-   * @return the value of field 'NeedsUpdate'.
-   */
-  public boolean isNeedsUpdate()
-  {
-    return this._needsUpdate;
-  }
-
-  /**
-   * Method isValid.
-   * 
-   * @return true if this object is valid according to the schema
-   */
-  public boolean isValid()
-  {
-    try
-    {
-      validate();
-    } catch (org.exolab.castor.xml.ValidationException vex)
-    {
-      return false;
+    public void validate(
+    )
+    throws org.exolab.castor.xml.ValidationException {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
     }
-    return true;
-  }
-
-  /**
-   * 
-   * 
-   * @param out
-   * @throws org.exolab.castor.xml.MarshalException
-   *           if object is null or if any SAXException is thrown during
-   *           marshaling
-   * @throws org.exolab.castor.xml.ValidationException
-   *           if this object is an invalid instance according to the schema
-   */
-  public void marshal(final java.io.Writer out)
-          throws org.exolab.castor.xml.MarshalException,
-          org.exolab.castor.xml.ValidationException
-  {
-    Marshaller.marshal(this, out);
-  }
-
-  /**
-   * 
-   * 
-   * @param handler
-   * @throws java.io.IOException
-   *           if an IOException occurs during marshaling
-   * @throws org.exolab.castor.xml.ValidationException
-   *           if this object is an invalid instance according to the schema
-   * @throws org.exolab.castor.xml.MarshalException
-   *           if object is null or if any SAXException is thrown during
-   *           marshaling
-   */
-  public void marshal(final org.xml.sax.ContentHandler handler)
-          throws java.io.IOException,
-          org.exolab.castor.xml.MarshalException,
-          org.exolab.castor.xml.ValidationException
-  {
-    Marshaller.marshal(this, handler);
-  }
-
-  /**
-   * Sets the value of field 'autoUpdate'. The field 'autoUpdate' has the
-   * following description: should the calculation be automatically performed on
-   * edits
-   * 
-   * @param autoUpdate
-   *          the value of field 'autoUpdate'.
-   */
-  public void setAutoUpdate(final boolean autoUpdate)
-  {
-    this._autoUpdate = autoUpdate;
-    this._has_autoUpdate = true;
-  }
-
-  /**
-   * Sets the value of field 'calcId'. The field 'calcId' has the following
-   * description: handle for the calculation which uses this parameter set
-   * 
-   * @param calcId
-   *          the value of field 'calcId'.
-   */
-  public void setCalcId(final java.lang.String calcId)
-  {
-    this._calcId = calcId;
-  }
-
-  /**
-   * Sets the value of field 'needsUpdate'. The field 'needsUpdate' has the
-   * following description: should the calculation be performed immediately
-   * after loading in order to refresh results
-   * 
-   * @param needsUpdate
-   *          the value of field 'needsUpdate'.
-   */
-  public void setNeedsUpdate(final boolean needsUpdate)
-  {
-    this._needsUpdate = needsUpdate;
-    this._has_needsUpdate = true;
-  }
-
-  /**
-   * Method unmarshal.
-   * 
-   * @param reader
-   * @throws org.exolab.castor.xml.MarshalException
-   *           if object is null or if any SAXException is thrown during
-   *           marshaling
-   * @throws org.exolab.castor.xml.ValidationException
-   *           if this object is an invalid instance according to the schema
-   * @return the unmarshaled jalview.schemabinding.version2.CalcIdParam
-   */
-  public static jalview.schemabinding.version2.CalcIdParam unmarshal(
-          final java.io.Reader reader)
-          throws org.exolab.castor.xml.MarshalException,
-          org.exolab.castor.xml.ValidationException
-  {
-    return (jalview.schemabinding.version2.CalcIdParam) Unmarshaller
-            .unmarshal(jalview.schemabinding.version2.CalcIdParam.class,
-                    reader);
-  }
-
-  /**
-   * 
-   * 
-   * @throws org.exolab.castor.xml.ValidationException
-   *           if this object is an invalid instance according to the schema
-   */
-  public void validate() throws org.exolab.castor.xml.ValidationException
-  {
-    org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
-    validator.validate(this);
-  }
 
 }