1 40 package org.dspace.search; 41 42 import java.util.List ; 43 44 48 public class QueryResults 49 { 50 private int hitCount; 52 private int start; 54 private int pageSize; 56 private List hitHandles; 59 private List hitTypes; 62 private String errorMsg; 64 65 public void setHitCount(int newCount) 66 { 67 hitCount = newCount; 68 } 69 70 74 public int getHitCount() 75 { 76 return hitCount; 77 } 78 79 80 public void setStart(int newStart) 81 { 82 start = newStart; 83 } 84 85 86 public int getStart() 87 { 88 return start; 89 } 90 91 92 public void setPageSize(int newSize) 93 { 94 pageSize = newSize; 95 } 96 97 98 public int getPageSize() 99 { 100 return pageSize; 101 } 102 103 104 public void setHitHandles(List myHits) 105 { 106 hitHandles = myHits; 107 } 108 109 110 public List getHitHandles() 111 { 112 return hitHandles; 113 } 114 115 116 public void setHitTypes(List newTypes) 117 { 118 hitTypes = newTypes; 119 } 120 121 122 public List getHitTypes() 123 { 124 return hitTypes; 125 } 126 127 128 public void setErrorMsg(String msg) 129 { 130 errorMsg = msg; 131 } 132 133 134 public String getErrorMsg() 135 { 136 return errorMsg; 137 } 138 } 139 | Popular Tags |