Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2009 The Kuali Foundation
  * Licensed under the Educational Community License, Version 1.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.kuali.student.r2.common.infc;
Criteria for a generic query
public interface Criteria {

Name: Comparisons The list of comparisons to be applied TODO: Decide if null or empty list is ok? I.e. can you get ALL?
    public List<? extends ComparisongetComparisons();

Name: Maximum Results Get the maximum number of results to be returned Specify Null if do not want to limit the results
    public Integer getMaxResults();
New to GrepCode? Check out our FAQ X