org.biojava.dasobert.eventmodel
Class FeatureEvent
java.lang.Object
org.biojava.dasobert.eventmodel.AbstractDasEvent
org.biojava.dasobert.eventmodel.FeatureEvent
public class FeatureEvent
- extends AbstractDasEvent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureEvent
public FeatureEvent(List<Map<String,String>> feats,
Das1Source dasSource,
String version)
getComeBackLater
public int getComeBackLater()
setComeBackLater
public void setComeBackLater(int comeBackLater)
getFeatures
public List<Map<String,String>> getFeatures()
- get the features that have been found.
do something like
Map[] features = event.getFeatures();
for (int i = 0 ; i< features;i++) {
Map f = features[i];
String type = (String) f.get("TYPE") ;
System.out.println(type);
}
- Returns:
- a Map containng the features
getVersion
public String getVersion()
- Get the version of the reference object that has been annotated.
Compare the version string with the version string obtained from the reference server.
If they don;t match there is a version problem between the annotation and the reference!
- Returns:
- the version string (e.g. an MD5 digest of the reference sequence)
setVersion
public void setVersion(String version)
Copyright © 2012 BioJava. All Rights Reserved.