- Timestamp:
- 09/20/10 09:15:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/model/Query.java
r704 r706 29 29 public static String COLLECTIONS = "collections"; 30 30 public static String COLUMNS = "columns"; 31 public static String startRecord = null; 32 public static String maximumRecords = null; 31 33 public static String MODEL = "model"; 32 34 public static String RECORDSET = "recordset"; … … 161 163 } 162 164 165 public String getStartRecord() { 166 return startRecord; 167 } 168 169 public void setStartRecord(String startRecord) { 170 if (startRecord!=null) { 171 this.startRecord = startRecord; 172 } 173 } 174 175 public String getMaximumRecords() { 176 return maximumRecords; 177 } 178 179 public void setMaximumRecords(String maximumRecords) { 180 if (maximumRecords!=null) { 181 this.maximumRecords = maximumRecords; 182 } 183 } 163 184 public void setMaxdepth(int maxdepth) { 164 185 if (maxdepth > 0) { … … 249 270 } else { 250 271 targetRequest = toXPath() + "&collection=" + getCollection(); 272 if ((startRecord != null) && (maximumRecords != null)) { 273 targetRequest = targetRequest + "&startRecord=" + getStartRecord() + "&iend=" + getMaximumRecords(); 274 } 251 275 } 252 276
Note: See TracChangeset
for help on using the changeset viewer.