JAL-2113 additions to embl_mapping.xml / data models / tests
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblEntry.java
index 50a262f..cfe87d9 100644 (file)
@@ -62,21 +62,25 @@ public class EmblEntry
 
   String sequenceVersion;
 
+  String dataClass;
+
   String moleculeType;
 
   String topology;
 
   String sequenceLength;
 
-  String taxDivision;
+  String taxonomicDivision;
+
+  String description;
 
-  String desc;
+  String firstPublicDate;
 
-  String rCreated;
+  String firstPublicRelease;
 
-  String rLastUpdated;
+  String lastUpdatedDate;
 
-  String lastUpdated;
+  String lastUpdatedRelease;
 
   Vector<String> keywords;
 
@@ -121,23 +125,6 @@ public class EmblEntry
   }
 
   /**
-   * @return the desc
-   */
-  public String getDesc()
-  {
-    return desc;
-  }
-
-  /**
-   * @param desc
-   *          the desc to set
-   */
-  public void setDesc(String desc)
-  {
-    this.desc = desc;
-  }
-
-  /**
    * @return the features
    */
   public Vector<EmblFeature> getFeatures()
@@ -172,57 +159,6 @@ public class EmblEntry
   }
 
   /**
-   * @return the lastUpdated
-   */
-  public String getLastUpdated()
-  {
-    return lastUpdated;
-  }
-
-  /**
-   * @param lastUpdated
-   *          the lastUpdated to set
-   */
-  public void setLastUpdated(String lastUpdated)
-  {
-    this.lastUpdated = lastUpdated;
-  }
-
-  /**
-   * @return the releaseCreated
-   */
-  public String getRCreated()
-  {
-    return rCreated;
-  }
-
-  /**
-   * @param releaseCreated
-   *          the releaseCreated to set
-   */
-  public void setRCreated(String releaseCreated)
-  {
-    this.rCreated = releaseCreated;
-  }
-
-  /**
-   * @return the releaseLastUpdated
-   */
-  public String getRLastUpdated()
-  {
-    return rLastUpdated;
-  }
-
-  /**
-   * @param releaseLastUpdated
-   *          the releaseLastUpdated to set
-   */
-  public void setRLastUpdated(String releaseLastUpdated)
-  {
-    this.rLastUpdated = releaseLastUpdated;
-  }
-
-  /**
    * @return the sequence
    */
   public EmblSequence getSequence()
@@ -240,40 +176,6 @@ public class EmblEntry
   }
 
   /**
-   * @return the taxDivision
-   */
-  public String getTaxDivision()
-  {
-    return taxDivision;
-  }
-
-  /**
-   * @param taxDivision
-   *          the taxDivision to set
-   */
-  public void setTaxDivision(String taxDivision)
-  {
-    this.taxDivision = taxDivision;
-  }
-
-  /**
-   * @return the entry version
-   */
-  public String getEntryVersion()
-  {
-    return entryVersion;
-  }
-
-  /**
-   * @param version
-   *          the version to set
-   */
-  public void setEntryVersion(String version)
-  {
-    this.entryVersion = version;
-  }
-
-  /**
    * Recover annotated sequences from EMBL file
    * 
    * @param sourceDb
@@ -285,7 +187,7 @@ public class EmblEntry
   {
     SequenceI dna = new Sequence(sourceDb + "|" + accession,
             sequence.getSequence());
-    dna.setDescription(desc);
+    dna.setDescription(description);
     DBRefEntry retrievedref = new DBRefEntry(sourceDb,
             getSequenceVersion(), accession);
     dna.addDBRef(retrievedref);
@@ -780,6 +682,26 @@ public class EmblEntry
     this.sequenceVersion = sequenceVersion;
   }
 
+  public String getSequenceLength()
+  {
+    return sequenceLength;
+  }
+
+  public void setSequenceLength(String sequenceLength)
+  {
+    this.sequenceLength = sequenceLength;
+  }
+
+  public String getEntryVersion()
+  {
+    return entryVersion;
+  }
+
+  public void setEntryVersion(String entryVersion)
+  {
+    this.entryVersion = entryVersion;
+  }
+
   public String getMoleculeType()
   {
     return moleculeType;
@@ -800,33 +722,73 @@ public class EmblEntry
     this.topology = topology;
   }
 
-  public String getSequenceLength()
+  public String getTaxonomicDivision()
   {
-    return sequenceLength;
+    return taxonomicDivision;
   }
 
-  public void setSequenceLength(String sequenceLength)
+  public void setTaxonomicDivision(String taxonomicDivision)
   {
-    this.sequenceLength = sequenceLength;
+    this.taxonomicDivision = taxonomicDivision;
+  }
+
+  public String getDescription()
+  {
+    return description;
+  }
+
+  public void setDescription(String description)
+  {
+    this.description = description;
+  }
+
+  public String getFirstPublicDate()
+  {
+    return firstPublicDate;
+  }
+
+  public void setFirstPublicDate(String firstPublicDate)
+  {
+    this.firstPublicDate = firstPublicDate;
+  }
+
+  public String getFirstPublicRelease()
+  {
+    return firstPublicRelease;
+  }
+
+  public void setFirstPublicRelease(String firstPublicRelease)
+  {
+    this.firstPublicRelease = firstPublicRelease;
+  }
+
+  public String getLastUpdatedDate()
+  {
+    return lastUpdatedDate;
+  }
+
+  public void setLastUpdatedDate(String lastUpdatedDate)
+  {
+    this.lastUpdatedDate = lastUpdatedDate;
   }
 
-  public String getrCreated()
+  public String getLastUpdatedRelease()
   {
-    return rCreated;
+    return lastUpdatedRelease;
   }
 
-  public void setrCreated(String rCreated)
+  public void setLastUpdatedRelease(String lastUpdatedRelease)
   {
-    this.rCreated = rCreated;
+    this.lastUpdatedRelease = lastUpdatedRelease;
   }
 
-  public String getrLastUpdated()
+  public String getDataClass()
   {
-    return rLastUpdated;
+    return dataClass;
   }
 
-  public void setrLastUpdated(String rLastUpdated)
+  public void setDataClass(String dataClass)
   {
-    this.rLastUpdated = rLastUpdated;
+    this.dataClass = dataClass;
   }
 }