001package org.biopax.paxtools.search;
002
003import java.util.List;
004
005import org.biopax.paxtools.model.BioPAXElement;
006
007
008public class SearchResult {
009        
010        private List<BioPAXElement> hits;
011        private long totalHits;
012        private long maxHitsPerPage = 100;
013        private int page = 0;
014        
015        public SearchResult() {
016        }
017
018
019        public List<BioPAXElement> getHits() {
020                return hits;
021        }
022
023
024        public void setHits(List<BioPAXElement> hits) {
025                this.hits = hits;
026        }
027
028
029        public long getTotalHits() {
030                return totalHits;
031        }
032
033
034        public void setTotalHits(long totalHits) {
035                this.totalHits = totalHits;
036        }
037
038
039        public long getMaxHitsPerPage() {
040                return maxHitsPerPage;
041        }
042
043
044        public void setMaxHitsPerPage(long maxHitsPerPage) {
045                this.maxHitsPerPage = maxHitsPerPage;
046        }
047
048
049        public int getPage() {
050                return page;
051        }
052
053
054        public void setPage(int page) {
055                this.page = page;
056        }
057        
058}