JAL-1645 Version-Rel Version 2.9 Year-Rel 2015 Licensing glob
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblFeatureLocElement.java
index 8cce8a9..d146484 100644 (file)
-package jalview.datamodel.xdb.embl;\r
-\r
-public class EmblFeatureLocElement {\r
-        String type;\r
-        String accession;\r
-        String version;\r
-        boolean complement;\r
-        BasePosition basePositions[]; \r
-        /**\r
-         * @return the accession\r
-         */\r
-        public String getAccession() {\r
-            return accession;\r
-        }\r
-        /**\r
-         * @param accession the accession to set\r
-         */\r
-        public void setAccession(String accession) {\r
-            this.accession = accession;\r
-        }\r
-        /**\r
-         * @return the basePositions\r
-         */\r
-        public BasePosition[] getBasePositions() {\r
-            return basePositions;\r
-        }\r
-        /**\r
-         * @param basePositions the basePositions to set\r
-         */\r
-        public void setBasePositions(BasePosition[] basePositions) {\r
-            this.basePositions = basePositions;\r
-        }\r
-        /**\r
-         * @return the complement\r
-         */\r
-        public boolean isComplement() {\r
-            return complement;\r
-        }\r
-        /**\r
-         * @param complement the complement to set\r
-         */\r
-        public void setComplement(boolean complement) {\r
-            this.complement = complement;\r
-        }\r
-        /**\r
-         * @return the type\r
-         */\r
-        public String getType() {\r
-            return type;\r
-        }\r
-        /**\r
-         * @param type the type to set\r
-         */\r
-        public void setType(String type) {\r
-            this.type = type;\r
-        }\r
-        /**\r
-         * @return the version\r
-         */\r
-        public String getVersion() {\r
-            return version;\r
-        }\r
-        /**\r
-         * @param version the version to set\r
-         */\r
-        public void setVersion(String version) {\r
-            this.version = version;\r
-        }\r
-    }\r
-    \r
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
+ * Copyright (C) 2015 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.
+ */
+package jalview.datamodel.xdb.embl;
+
+/**
+ * Data model for a feature/location/locationElement read from an EMBL query
+ * reply
+ * 
+ * @see embl_mapping.xml
+ */
+public class EmblFeatureLocElement
+{
+  String type;
+
+  String accession;
+
+  String version;
+
+  boolean complement;
+
+  BasePosition basePositions[];
+
+  /**
+   * @return the accession
+   */
+  public String getAccession()
+  {
+    return accession;
+  }
+
+  /**
+   * @param accession
+   *          the accession to set
+   */
+  public void setAccession(String accession)
+  {
+    this.accession = accession;
+  }
+
+  /**
+   * @return the basePositions
+   */
+  public BasePosition[] getBasePositions()
+  {
+    return basePositions;
+  }
+
+  /**
+   * @param basePositions
+   *          the basePositions to set
+   */
+  public void setBasePositions(BasePosition[] basePositions)
+  {
+    this.basePositions = basePositions;
+  }
+
+  /**
+   * @return the complement
+   */
+  public boolean isComplement()
+  {
+    return complement;
+  }
+
+  /**
+   * @param complement
+   *          the complement to set
+   */
+  public void setComplement(boolean complement)
+  {
+    this.complement = complement;
+  }
+
+  /**
+   * @return the type
+   */
+  public String getType()
+  {
+    return type;
+  }
+
+  /**
+   * @param type
+   *          the type to set
+   */
+  public void setType(String type)
+  {
+    this.type = type;
+  }
+
+  /**
+   * @return the version
+   */
+  public String getVersion()
+  {
+    return version;
+  }
+
+  /**
+   * @param version
+   *          the version to set
+   */
+  public void setVersion(String version)
+  {
+    this.version = version;
+  }
+}