org.kuali.student.common.dto
Class CriteriaInfo.Builder

java.lang.Object
  extended by 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


Field Summary
private  List<? extends Comparison> comparisons
           
private  Integer maxResults
           
 
Constructor Summary
CriteriaInfo.Builder()
           
CriteriaInfo.Builder(Criteria info)
           
 
Method Summary
 CriteriaInfo build()
           
 List<? extends Comparison> getComparisons()
          Name: Comparisons The list of comparisons to be applied TODO: Decide if null or empty list is ok? I.e.
 Integer getMaxResults()
          Name: Maximum Results Get the maximum number of results to be returned Specify Null if do not want to limit the results
 void setComparisons(List<? extends Comparison> comparisons)
           
 void setMaxResults(Integer maxResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparisons

private List<? extends Comparison> comparisons

maxResults

private Integer maxResults
Constructor Detail

CriteriaInfo.Builder

public CriteriaInfo.Builder()

CriteriaInfo.Builder

public CriteriaInfo.Builder(Criteria info)
Method Detail

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.