AlignmentAnnotation: added annotation score attribute and allowed for annotation...
[jalview.git] / src / jalview / schemabinding / version2 / StructureState.java
index be826fc..3e913cb 100644 (file)
-/*\r
- * This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML\r
- * Schema.\r
- * $Id$\r
- */\r
-\r
-package jalview.schemabinding.version2;\r
-\r
-  //---------------------------------/\r
- //- Imported classes and packages -/\r
-//---------------------------------/\r
-\r
-import java.io.IOException;\r
-import java.io.Reader;\r
-import java.io.Serializable;\r
-import java.io.Writer;\r
-import org.exolab.castor.xml.MarshalException;\r
-import org.exolab.castor.xml.Marshaller;\r
-import org.exolab.castor.xml.Unmarshaller;\r
-import org.exolab.castor.xml.ValidationException;\r
-import org.xml.sax.ContentHandler;\r
-\r
-/**\r
- * Class StructureState.\r
- * \r
- * @version $Revision$ $Date$\r
- */\r
-public class StructureState implements java.io.Serializable {\r
-\r
-\r
-      //--------------------------/\r
-     //- Class/Member Variables -/\r
-    //--------------------------/\r
-\r
-    /**\r
-     * internal content storage\r
-     */\r
-    private java.lang.String _content = "";\r
-\r
-    /**\r
-     * Field _visible\r
-     */\r
-    private boolean _visible;\r
-\r
-    /**\r
-     * keeps track of state for field: _visible\r
-     */\r
-    private boolean _has_visible;\r
-\r
-    /**\r
-     * Field _xpos\r
-     */\r
-    private int _xpos;\r
-\r
-    /**\r
-     * keeps track of state for field: _xpos\r
-     */\r
-    private boolean _has_xpos;\r
-\r
-    /**\r
-     * Field _ypos\r
-     */\r
-    private int _ypos;\r
-\r
-    /**\r
-     * keeps track of state for field: _ypos\r
-     */\r
-    private boolean _has_ypos;\r
-\r
-    /**\r
-     * Field _width\r
-     */\r
-    private int _width;\r
-\r
-    /**\r
-     * keeps track of state for field: _width\r
-     */\r
-    private boolean _has_width;\r
-\r
-    /**\r
-     * Field _height\r
-     */\r
-    private int _height;\r
-\r
-    /**\r
-     * keeps track of state for field: _height\r
-     */\r
-    private boolean _has_height;\r
-\r
-\r
-      //----------------/\r
-     //- Constructors -/\r
-    //----------------/\r
-\r
-    public StructureState() {\r
-        super();\r
-        setContent("");\r
-    } //-- jalview.schemabinding.version2.StructureState()\r
-\r
-\r
-      //-----------/\r
-     //- Methods -/\r
-    //-----------/\r
-\r
-    /**\r
-     * Method deleteHeight\r
-     * \r
-     */\r
-    public void deleteHeight()\r
-    {\r
-        this._has_height= false;\r
-    } //-- void deleteHeight() \r
-\r
-    /**\r
-     * Method deleteVisible\r
-     * \r
-     */\r
-    public void deleteVisible()\r
-    {\r
-        this._has_visible= false;\r
-    } //-- void deleteVisible() \r
-\r
-    /**\r
-     * Method deleteWidth\r
-     * \r
-     */\r
-    public void deleteWidth()\r
-    {\r
-        this._has_width= false;\r
-    } //-- void deleteWidth() \r
-\r
-    /**\r
-     * Method deleteXpos\r
-     * \r
-     */\r
-    public void deleteXpos()\r
-    {\r
-        this._has_xpos= false;\r
-    } //-- void deleteXpos() \r
-\r
-    /**\r
-     * Method deleteYpos\r
-     * \r
-     */\r
-    public void deleteYpos()\r
-    {\r
-        this._has_ypos= false;\r
-    } //-- void deleteYpos() \r
-\r
-    /**\r
-     * Returns the value of field 'content'. The field 'content'\r
-     * has the following description: internal content storage\r
-     * \r
-     * @return String\r
-     * @return the value of field 'content'.\r
-     */\r
-    public java.lang.String getContent()\r
-    {\r
-        return this._content;\r
-    } //-- java.lang.String getContent() \r
-\r
-    /**\r
-     * Returns the value of field 'height'.\r
-     * \r
-     * @return int\r
-     * @return the value of field 'height'.\r
-     */\r
-    public int getHeight()\r
-    {\r
-        return this._height;\r
-    } //-- int getHeight() \r
-\r
-    /**\r
-     * Returns the value of field 'visible'.\r
-     * \r
-     * @return boolean\r
-     * @return the value of field 'visible'.\r
-     */\r
-    public boolean getVisible()\r
-    {\r
-        return this._visible;\r
-    } //-- boolean getVisible() \r
-\r
-    /**\r
-     * Returns the value of field 'width'.\r
-     * \r
-     * @return int\r
-     * @return the value of field 'width'.\r
-     */\r
-    public int getWidth()\r
-    {\r
-        return this._width;\r
-    } //-- int getWidth() \r
-\r
-    /**\r
-     * Returns the value of field 'xpos'.\r
-     * \r
-     * @return int\r
-     * @return the value of field 'xpos'.\r
-     */\r
-    public int getXpos()\r
-    {\r
-        return this._xpos;\r
-    } //-- int getXpos() \r
-\r
-    /**\r
-     * Returns the value of field 'ypos'.\r
-     * \r
-     * @return int\r
-     * @return the value of field 'ypos'.\r
-     */\r
-    public int getYpos()\r
-    {\r
-        return this._ypos;\r
-    } //-- int getYpos() \r
-\r
-    /**\r
-     * Method hasHeight\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean hasHeight()\r
-    {\r
-        return this._has_height;\r
-    } //-- boolean hasHeight() \r
-\r
-    /**\r
-     * Method hasVisible\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean hasVisible()\r
-    {\r
-        return this._has_visible;\r
-    } //-- boolean hasVisible() \r
-\r
-    /**\r
-     * Method hasWidth\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean hasWidth()\r
-    {\r
-        return this._has_width;\r
-    } //-- boolean hasWidth() \r
-\r
-    /**\r
-     * Method hasXpos\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean hasXpos()\r
-    {\r
-        return this._has_xpos;\r
-    } //-- boolean hasXpos() \r
-\r
-    /**\r
-     * Method hasYpos\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean hasYpos()\r
-    {\r
-        return this._has_ypos;\r
-    } //-- boolean hasYpos() \r
-\r
-    /**\r
-     * Method isValid\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean isValid()\r
-    {\r
-        try {\r
-            validate();\r
-        }\r
-        catch (org.exolab.castor.xml.ValidationException vex) {\r
-            return false;\r
-        }\r
-        return true;\r
-    } //-- boolean isValid() \r
-\r
-    /**\r
-     * Method marshal\r
-     * \r
-     * \r
-     * \r
-     * @param out\r
-     */\r
-    public void marshal(java.io.Writer out)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        \r
-        Marshaller.marshal(this, out);\r
-    } //-- void marshal(java.io.Writer) \r
-\r
-    /**\r
-     * Method marshal\r
-     * \r
-     * \r
-     * \r
-     * @param handler\r
-     */\r
-    public void marshal(org.xml.sax.ContentHandler handler)\r
-        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        \r
-        Marshaller.marshal(this, handler);\r
-    } //-- void marshal(org.xml.sax.ContentHandler) \r
-\r
-    /**\r
-     * Sets the value of field 'content'. The field 'content' has\r
-     * the following description: internal content storage\r
-     * \r
-     * @param content the value of field 'content'.\r
-     */\r
-    public void setContent(java.lang.String content)\r
-    {\r
-        this._content = content;\r
-    } //-- void setContent(java.lang.String) \r
-\r
-    /**\r
-     * Sets the value of field 'height'.\r
-     * \r
-     * @param height the value of field 'height'.\r
-     */\r
-    public void setHeight(int height)\r
-    {\r
-        this._height = height;\r
-        this._has_height = true;\r
-    } //-- void setHeight(int) \r
-\r
-    /**\r
-     * Sets the value of field 'visible'.\r
-     * \r
-     * @param visible the value of field 'visible'.\r
-     */\r
-    public void setVisible(boolean visible)\r
-    {\r
-        this._visible = visible;\r
-        this._has_visible = true;\r
-    } //-- void setVisible(boolean) \r
-\r
-    /**\r
-     * Sets the value of field 'width'.\r
-     * \r
-     * @param width the value of field 'width'.\r
-     */\r
-    public void setWidth(int width)\r
-    {\r
-        this._width = width;\r
-        this._has_width = true;\r
-    } //-- void setWidth(int) \r
-\r
-    /**\r
-     * Sets the value of field 'xpos'.\r
-     * \r
-     * @param xpos the value of field 'xpos'.\r
-     */\r
-    public void setXpos(int xpos)\r
-    {\r
-        this._xpos = xpos;\r
-        this._has_xpos = true;\r
-    } //-- void setXpos(int) \r
-\r
-    /**\r
-     * Sets the value of field 'ypos'.\r
-     * \r
-     * @param ypos the value of field 'ypos'.\r
-     */\r
-    public void setYpos(int ypos)\r
-    {\r
-        this._ypos = ypos;\r
-        this._has_ypos = true;\r
-    } //-- void setYpos(int) \r
-\r
-    /**\r
-     * Method unmarshal\r
-     * \r
-     * \r
-     * \r
-     * @param reader\r
-     * @return Object\r
-     */\r
-    public static java.lang.Object unmarshal(java.io.Reader reader)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        return (jalview.schemabinding.version2.StructureState) Unmarshaller.unmarshal(jalview.schemabinding.version2.StructureState.class, reader);\r
-    } //-- java.lang.Object unmarshal(java.io.Reader) \r
-\r
-    /**\r
-     * Method validate\r
-     * \r
-     */\r
-    public void validate()\r
-        throws org.exolab.castor.xml.ValidationException\r
-    {\r
-        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r
-        validator.validate(this);\r
-    } //-- void validate() \r
-\r
-}\r
+/*
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
+ * Schema.
+ * $Id$
+ */
+
+package jalview.schemabinding.version2;
+
+  //---------------------------------/
+ //- Imported classes and packages -/
+//---------------------------------/
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.Writer;
+import org.exolab.castor.xml.MarshalException;
+import org.exolab.castor.xml.Marshaller;
+import org.exolab.castor.xml.Unmarshaller;
+import org.exolab.castor.xml.ValidationException;
+import org.xml.sax.ContentHandler;
+
+/**
+ * Class StructureState.
+ * 
+ * @version $Revision$ $Date$
+ */
+public class StructureState implements java.io.Serializable {
+
+
+      //--------------------------/
+     //- Class/Member Variables -/
+    //--------------------------/
+
+    /**
+     * internal content storage
+     */
+    private java.lang.String _content = "";
+
+    /**
+     * Field _visible
+     */
+    private boolean _visible;
+
+    /**
+     * keeps track of state for field: _visible
+     */
+    private boolean _has_visible;
+
+    /**
+     * Field _xpos
+     */
+    private int _xpos;
+
+    /**
+     * keeps track of state for field: _xpos
+     */
+    private boolean _has_xpos;
+
+    /**
+     * Field _ypos
+     */
+    private int _ypos;
+
+    /**
+     * keeps track of state for field: _ypos
+     */
+    private boolean _has_ypos;
+
+    /**
+     * Field _width
+     */
+    private int _width;
+
+    /**
+     * keeps track of state for field: _width
+     */
+    private boolean _has_width;
+
+    /**
+     * Field _height
+     */
+    private int _height;
+
+    /**
+     * keeps track of state for field: _height
+     */
+    private boolean _has_height;
+
+
+      //----------------/
+     //- Constructors -/
+    //----------------/
+
+    public StructureState() {
+        super();
+        setContent("");
+    } //-- jalview.schemabinding.version2.StructureState()
+
+
+      //-----------/
+     //- Methods -/
+    //-----------/
+
+    /**
+     * Method deleteHeight
+     * 
+     */
+    public void deleteHeight()
+    {
+        this._has_height= false;
+    } //-- void deleteHeight() 
+
+    /**
+     * Method deleteVisible
+     * 
+     */
+    public void deleteVisible()
+    {
+        this._has_visible= false;
+    } //-- void deleteVisible() 
+
+    /**
+     * Method deleteWidth
+     * 
+     */
+    public void deleteWidth()
+    {
+        this._has_width= false;
+    } //-- void deleteWidth() 
+
+    /**
+     * Method deleteXpos
+     * 
+     */
+    public void deleteXpos()
+    {
+        this._has_xpos= false;
+    } //-- void deleteXpos() 
+
+    /**
+     * Method deleteYpos
+     * 
+     */
+    public void deleteYpos()
+    {
+        this._has_ypos= false;
+    } //-- void deleteYpos() 
+
+    /**
+     * Returns the value of field 'content'. The field 'content'
+     * has the following description: internal content storage
+     * 
+     * @return String
+     * @return the value of field 'content'.
+     */
+    public java.lang.String getContent()
+    {
+        return this._content;
+    } //-- java.lang.String getContent() 
+
+    /**
+     * Returns the value of field 'height'.
+     * 
+     * @return int
+     * @return the value of field 'height'.
+     */
+    public int getHeight()
+    {
+        return this._height;
+    } //-- int getHeight() 
+
+    /**
+     * Returns the value of field 'visible'.
+     * 
+     * @return boolean
+     * @return the value of field 'visible'.
+     */
+    public boolean getVisible()
+    {
+        return this._visible;
+    } //-- boolean getVisible() 
+
+    /**
+     * Returns the value of field 'width'.
+     * 
+     * @return int
+     * @return the value of field 'width'.
+     */
+    public int getWidth()
+    {
+        return this._width;
+    } //-- int getWidth() 
+
+    /**
+     * Returns the value of field 'xpos'.
+     * 
+     * @return int
+     * @return the value of field 'xpos'.
+     */
+    public int getXpos()
+    {
+        return this._xpos;
+    } //-- int getXpos() 
+
+    /**
+     * Returns the value of field 'ypos'.
+     * 
+     * @return int
+     * @return the value of field 'ypos'.
+     */
+    public int getYpos()
+    {
+        return this._ypos;
+    } //-- int getYpos() 
+
+    /**
+     * Method hasHeight
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasHeight()
+    {
+        return this._has_height;
+    } //-- boolean hasHeight() 
+
+    /**
+     * Method hasVisible
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasVisible()
+    {
+        return this._has_visible;
+    } //-- boolean hasVisible() 
+
+    /**
+     * Method hasWidth
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasWidth()
+    {
+        return this._has_width;
+    } //-- boolean hasWidth() 
+
+    /**
+     * Method hasXpos
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasXpos()
+    {
+        return this._has_xpos;
+    } //-- boolean hasXpos() 
+
+    /**
+     * Method hasYpos
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasYpos()
+    {
+        return this._has_ypos;
+    } //-- boolean hasYpos() 
+
+    /**
+     * Method isValid
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean isValid()
+    {
+        try {
+            validate();
+        }
+        catch (org.exolab.castor.xml.ValidationException vex) {
+            return false;
+        }
+        return true;
+    } //-- boolean isValid() 
+
+    /**
+     * Method marshal
+     * 
+     * 
+     * 
+     * @param out
+     */
+    public void marshal(java.io.Writer out)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, out);
+    } //-- void marshal(java.io.Writer) 
+
+    /**
+     * Method marshal
+     * 
+     * 
+     * 
+     * @param handler
+     */
+    public void marshal(org.xml.sax.ContentHandler handler)
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        
+        Marshaller.marshal(this, handler);
+    } //-- void marshal(org.xml.sax.ContentHandler) 
+
+    /**
+     * Sets the value of field 'content'. The field 'content' has
+     * the following description: internal content storage
+     * 
+     * @param content the value of field 'content'.
+     */
+    public void setContent(java.lang.String content)
+    {
+        this._content = content;
+    } //-- void setContent(java.lang.String) 
+
+    /**
+     * Sets the value of field 'height'.
+     * 
+     * @param height the value of field 'height'.
+     */
+    public void setHeight(int height)
+    {
+        this._height = height;
+        this._has_height = true;
+    } //-- void setHeight(int) 
+
+    /**
+     * Sets the value of field 'visible'.
+     * 
+     * @param visible the value of field 'visible'.
+     */
+    public void setVisible(boolean visible)
+    {
+        this._visible = visible;
+        this._has_visible = true;
+    } //-- void setVisible(boolean) 
+
+    /**
+     * Sets the value of field 'width'.
+     * 
+     * @param width the value of field 'width'.
+     */
+    public void setWidth(int width)
+    {
+        this._width = width;
+        this._has_width = true;
+    } //-- void setWidth(int) 
+
+    /**
+     * Sets the value of field 'xpos'.
+     * 
+     * @param xpos the value of field 'xpos'.
+     */
+    public void setXpos(int xpos)
+    {
+        this._xpos = xpos;
+        this._has_xpos = true;
+    } //-- void setXpos(int) 
+
+    /**
+     * Sets the value of field 'ypos'.
+     * 
+     * @param ypos the value of field 'ypos'.
+     */
+    public void setYpos(int ypos)
+    {
+        this._ypos = ypos;
+        this._has_ypos = true;
+    } //-- void setYpos(int) 
+
+    /**
+     * Method unmarshal
+     * 
+     * 
+     * 
+     * @param reader
+     * @return Object
+     */
+    public static java.lang.Object unmarshal(java.io.Reader reader)
+        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
+    {
+        return (jalview.schemabinding.version2.StructureState) Unmarshaller.unmarshal(jalview.schemabinding.version2.StructureState.class, reader);
+    } //-- java.lang.Object unmarshal(java.io.Reader) 
+
+    /**
+     * Method validate
+     * 
+     */
+    public void validate()
+        throws org.exolab.castor.xml.ValidationException
+    {
+        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
+        validator.validate(this);
+    } //-- void validate() 
+
+}