JAL-2089 Merge branch releases/Release_2_10_Branch to master
[jalview.git] / src / jalview / fts / api / FTSData.java
similarity index 59%
rename from src/jalview/datamodel/xdb/embl/BasePosition.java
rename to src/jalview/fts/api/FTSData.java
index f86d414..2b2df8e 100644 (file)
  * 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;
+
+package jalview.fts.api;
 
 /**
- * Data model for a feature/location/locationElement/basePosition read from an
- * EMBL query reply
+ * This interface provides a model for the summary data;
  * 
- * @see embl_mapping.xml
+ * @author tcnofoegbu
+ *
  */
-public class BasePosition
+public interface FTSData
 {
-  String type;
-
-  String pos;
-
-  /**
-   * @return the pos
-   */
-  public String getPos()
-  {
-    return pos;
-  }
-
-  /**
-   * @param pos
-   *          the pos to set
-   */
-  public void setPos(String pos)
-  {
-    this.pos = pos;
-  }
 
   /**
-   * @return the type
+   * Return an array of Objects representing the retrieved FTS data
+   * 
+   * @return
    */
-  public String getType()
-  {
-    return type;
-  }
+  public Object[] getSummaryData();
 
   /**
-   * @param type
-   *          the type to set
+   * The primary key object for the retrieved FTS data
+   * 
+   * @return
    */
-  public void setType(String type)
-  {
-    this.type = type;
-  }
+  public Object getPrimaryKey();
 }