org.kuali.student.common.dto
Class CriteriaInfo.Builder
java.lang.Object
org.kuali.student.common.dto.CriteriaInfo.Builder
- All Implemented Interfaces:
- Criteria, ModelBuilder<CriteriaInfo>
- Enclosing class:
- CriteriaInfo
public static class CriteriaInfo.Builder
- extends Object
- implements ModelBuilder<CriteriaInfo>, Criteria
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comparisons
private List<? extends Comparison> comparisons
maxResults
private Integer maxResults
CriteriaInfo.Builder
public CriteriaInfo.Builder()
CriteriaInfo.Builder
public CriteriaInfo.Builder(Criteria info)
build
public CriteriaInfo build()
- Specified by:
build
in interface ModelBuilder<CriteriaInfo>
getComparisons
public List<? extends Comparison> getComparisons()
- Description copied from 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?
- Specified by:
getComparisons
in interface Criteria
getMaxResults
public Integer getMaxResults()
- Description copied from interface:
Criteria
- Name: Maximum Results
Get the maximum number of results to be returned
Specify Null if do not want to limit the results
- Specified by:
getMaxResults
in interface Criteria
setComparisons
public void setComparisons(List<? extends Comparison> comparisons)
setMaxResults
public void setMaxResults(Integer maxResults)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.