package plugins.qtlfinder2; import java.util.HashMap; import java.util.List; import java.util.Map; import org.molgenis.util.Entity; import org.molgenis.xgap.Gene; import plugins.qtlfinder.QTLInfo; import plugins.qtlfinder.QTLMultiPlotResult; import plugins.reportbuilder.Report; public class QtlFinderModel2 { // the term you enter in the search box private String query; // listing of datatypes and the amount of records per type private Map<String, Integer> annotationTypeAndNr; private String selectedAnnotationTypeAndNr; // current hits to search term private Map<String, Entity> hits; // if the query string is too specific, we shorten it by 1 character at a // time until there is at least 1 match // in that case, we want to inform the user that the query string has been // shortened, and this is the one used String shortenedQuery; // names of things in the shoppingcart Map<String, Entity> shoppingCart = new HashMap<String, Entity>(); // results for a multiplot request private QTLMultiPlotResult multiplot; // results for a single-entity report, overrules other results but does not // remove them private Report report; private List<QTLInfo> qtls; // if true, display contents of cart private Boolean cartView; // permanent link to a plotted shopping cart String permaLink; // additional infomation: what gene was a hit for this probe? Map<String, Gene> probeToGene; public Map<String, Gene> getProbeToGene() { return probeToGene; } public void setProbeToGene(Map<String, Gene> probeToGene) { this.probeToGene = probeToGene; } public String getPermaLink() { return permaLink; } public void setPermaLink(String permaLink) { this.permaLink = permaLink; } public Boolean getCartView() { return cartView; } public void setCartView(Boolean cartView) { this.cartView = cartView; } public List<QTLInfo> getQtls() { return qtls; } public void setQtls(List<QTLInfo> qtls) { this.qtls = qtls; } public String getQuery() { return query; } public void setQuery(String query) { this.query = query; } public Map<String, Integer> getAnnotationTypeAndNr() { return annotationTypeAndNr; } public void setAnnotationTypeAndNr(Map<String, Integer> annotationTypeAndNr) { this.annotationTypeAndNr = annotationTypeAndNr; } public String getSelectedAnnotationTypeAndNr() { return selectedAnnotationTypeAndNr; } public void setSelectedAnnotationTypeAndNr(String selectedAnnotationTypeAndNr) { this.selectedAnnotationTypeAndNr = selectedAnnotationTypeAndNr; } public Map<String, Entity> getHits() { return hits; } public void setHits(Map<String, Entity> hits) { this.hits = hits; } public String getShortenedQuery() { return shortenedQuery; } public void setShortenedQuery(String shortenedQuery) { this.shortenedQuery = shortenedQuery; } public Map<String, Entity> getShoppingCart() { return shoppingCart; } public void setShoppingCart(Map<String, Entity> shoppingCart) { this.shoppingCart = shoppingCart; } public QTLMultiPlotResult getMultiplot() { return multiplot; } public void setMultiplot(QTLMultiPlotResult multiplot) { this.multiplot = multiplot; } public Report getReport() { return report; } public void setReport(Report report) { this.report = report; } }