Commit e8dcd0bf authored by Piotr Gawron's avatar Piotr Gawron
Browse files

mirna implements common interface for mirna, chemicals and drugs

parent f7578409
......@@ -2,10 +2,13 @@ package lcsb.mapviewer.annotation.data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import lcsb.mapviewer.model.map.MiriamData;
/**
* Object representing element obtained from Toxigenomic database.
*
......@@ -13,7 +16,7 @@ import javax.xml.bind.annotation.XmlRootElement;
*
*/
@XmlRootElement
public class MiRNA implements Serializable {
public class MiRNA implements Serializable, TargettingStructure {
/**
*
......@@ -100,4 +103,9 @@ public class MiRNA implements Serializable {
this.targets.add(target);
}
@Override
public Collection<MiriamData> getSources() {
return new ArrayList<>();
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment