inprogress
[jalview.git] / forester / java / src / org / forester / ws / seqdb / EbiDbEntry.java
index d845951..8172d3d 100644 (file)
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.ws.seqdb;
 
 import java.util.List;
 
+import org.forester.go.GoTerm;
+import org.forester.phylogeny.data.Accession;
 import org.forester.util.ForesterUtil;
 
 public final class EbiDbEntry implements SequenceDatabaseEntry {
@@ -81,15 +83,8 @@ public final class EbiDbEntry implements SequenceDatabaseEntry {
                 e.setPA( DatabaseTools.extract( line, "PA" ) );
             }
             else if ( line.startsWith( "DE" ) ) {
-                // if ( ( line.indexOf( "RecName:" ) > 0 ) && ( line.indexOf( "Full=" ) > 0 ) ) {
                 e.setDe( DatabaseTools.extract( line, "DE" ) );
-                //}
             }
-            //  else if ( line.startsWith( "GN" ) ) {
-            //      if ( ( line.indexOf( "Name=" ) > 0 ) ) {
-            //          e.setSymbol( extract( line, "Name=", ";" ) );
-            //      }
-            //  }
             else if ( line.startsWith( "OS" ) ) {
                 if ( line.indexOf( "(" ) > 0 ) {
                     e.setOs( DatabaseTools.extract( line, "OS", "(" ) );
@@ -156,12 +151,6 @@ public final class EbiDbEntry implements SequenceDatabaseEntry {
         return _symbol;
     }
 
-    private void setSymbol( final String symbol ) {
-        if ( _symbol == null ) {
-            _symbol = symbol;
-        }
-    }
-
     @Override
     public boolean isEmpty() {
         return ( ForesterUtil.isEmpty( getAccession() ) && ForesterUtil.isEmpty( getSequenceName() )
@@ -177,4 +166,19 @@ public final class EbiDbEntry implements SequenceDatabaseEntry {
     public void setProvider( final String provider ) {
         _provider = provider;
     }
+
+    @Override
+    public String getGeneName() {
+        return null;
+    }
+
+    @Override
+    public List<GoTerm> getGoTerms() {
+        return null;
+    }
+
+    @Override
+    public List<Accession> getCrossReferences() {
+        return null;
+    }
 }