Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Criteria |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2009 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl1.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.student.r2.common.infc; | |
17 | ||
18 | import java.util.List; | |
19 | ||
20 | /** | |
21 | * Criteria for a generic query | |
22 | */ | |
23 | @Deprecated | |
24 | public interface Criteria { | |
25 | ||
26 | /** | |
27 | * Name: Comparisons | |
28 | * | |
29 | * The list of comparisons to be applied | |
30 | * TODO: Decide if null or empty list is ok? I.e. can you get ALL? | |
31 | */ | |
32 | public List<? extends Comparison> getComparisons(); | |
33 | ||
34 | /** | |
35 | * Name: Maximum Results | |
36 | * | |
37 | * Get the maximum number of results to be returned | |
38 | * | |
39 | * Specify Null if do not want to limit the results | |
40 | */ | |
41 | public Integer getMaxResults(); | |
42 | ||
43 | } |