X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fbiojava%2Fdasobert%2Ffeature%2FFeatureTrack.java;fp=src%2Forg%2Fbiojava%2Fdasobert%2Ffeature%2FFeatureTrack.java;h=0000000000000000000000000000000000000000;hb=c1aff0bc80c5a64ec93acd8b6c5844da2d6da509;hp=e7b6bbd296c478fcc1a827acaae7fe0c447f3e76;hpb=ec4ef38882bce0469ce7c65cd70ceb85421cfbd2;p=jalview.git diff --git a/src/org/biojava/dasobert/feature/FeatureTrack.java b/src/org/biojava/dasobert/feature/FeatureTrack.java deleted file mode 100644 index e7b6bbd..0000000 --- a/src/org/biojava/dasobert/feature/FeatureTrack.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * BioJava development code - * - * This code may be freely distributed and modified under the - * terms of the GNU Lesser General Public Licence. This should - * be distributed with the code. If you do not have a copy, - * see: - * - * http://www.gnu.org/copyleft/lesser.html - * - * Copyright for this code is held jointly by the individual - * authors. These should be listed in @author doc comments. - * - * For more information on the BioJava project and its aims, - * or to join the biojava-l mailing list, visit the home page - * at: - * - * http://www.biojava.org/ - * - * Created on Feb 9, 2005 - * - */ -package org.biojava.dasobert.feature; - -import java.util.List; - -/** - * A feature corresponds to a track in Ensembl - * - * @author Andreas Prlic - * - */ -public interface FeatureTrack -{ - - public Object clone(); - - /** - * returns true if the specified sequence position is within the range of this - * Feature - * - * @param seqPosition - * the position to check - * @return true if the position is within the ranges of the segments of this - * feature - */ - public boolean overlaps(int seqPosition); - - public String toString(); - - public void setSource(String s); - - public String getSource(); - - public void setName(String nam); - - public String getName(); - - public void setMethod(String methd); - - public String getMethod(); - - public void setType(String typ); - - public String getType(); - - public void setNote(String nte); - - public String getNote(); - - public void setLink(String lnk); - - public String getLink(); - - public void setScore(String score); - - public String getScore(); - - public void setOrientation(String orientation); - - public String getOrientation(); - - /** - * test if two features are equivalent - * - * @param feat - * feature to compare with - * @return true if equivalend - */ - public abstract boolean equals(FeatureTrack feat); - - /** - * add a segment to this feature - * - * @param start - * position - * @param end - * position - * @param name - * of feature - */ - public abstract void addSegment(int start, int end, String name); - - public abstract void addSegment(Segment s); - - public abstract List getSegments(); - - /** - * set the data from the DAS - type - id field (used for Ontology support) - * - * @param typeID - */ - public void setTypeID(String typeID); - - /** - * set the data from the DAS - type - category field (used for Ontology - * support) - * - * @param typeCategory - */ - public void setTypeCategory(String typeCategory); - - public String getTypeID(); - - public String getTypeCategory(); - -} \ No newline at end of file