Clover Coverage Report - KS Services 0.0.1-SNAPSHOT (Aggregated)
Coverage timestamp: Mon May 23 2011 04:06:57 EDT
0   41   0   -
0   6   -   0
0     -  
1    
 
  Criteria       Line # 23 0 - 0 0 - -1.0
 
No Tests
 
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.common.infc;
17   
18    import java.util.List;
19   
20    /**
21    * Criteria for a generic query
22    */
 
23    public interface Criteria {
24   
25    /**
26    * Name: Comparisons
27    *
28    * The list of comparisons to be applied
29    * TODO: Decide if null or empty list is ok? I.e. can you get ALL?
30    */
31    public List<? extends Comparison> getComparisons();
32   
33    /**
34    * Name: Maximum Results
35    *
36    * Get the maximum number of results to be returned
37    *
38    * Specify Null if do not want to limit the results
39    */
40    public Integer getMaxResults();
41    }