org.kuali.student.contract.model.test.source
Class SearchParamInfo.Builder

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.SearchParamInfo.Builder
All Implemented Interfaces:
ModelBuilder<SearchParamInfo>, SearchParam
Enclosing class:
SearchParamInfo

public static class SearchParamInfo.Builder
extends Object
implements ModelBuilder<SearchParamInfo>, SearchParam


Constructor Summary
SearchParamInfo.Builder()
           
SearchParamInfo.Builder(SearchParam searchInfo)
           
 
Method Summary
 SearchParamInfo build()
           
 String getKey()
          Name: Search Parameter Key The key that identifies the name of the search parameter
 List<String> getValues()
          Name: Values The value(s) of the search parameter Most parameters take only a single value but the list is available for operations such as "IN" that take a list of values.
 void setKey(String key)
           
 void setValues(List<String> values)
           
 SearchParamInfo.Builder value(String value)
          Convenience method for setting a single value Actually stores it as a list with one value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchParamInfo.Builder

public SearchParamInfo.Builder()

SearchParamInfo.Builder

public SearchParamInfo.Builder(SearchParam searchInfo)
Method Detail

build

public SearchParamInfo build()
Specified by:
build in interface ModelBuilder<SearchParamInfo>

getKey

public String getKey()
Description copied from interface: SearchParam
Name: Search Parameter Key The key that identifies the name of the search parameter

Specified by:
getKey in interface SearchParam

setKey

public void setKey(String key)

getValues

public List<String> getValues()
Description copied from interface: SearchParam
Name: Values The value(s) of the search parameter Most parameters take only a single value but the list is available for operations such as "IN" that take a list of values.

Specified by:
getValues in interface SearchParam

setValues

public void setValues(List<String> values)

value

public SearchParamInfo.Builder value(String value)
Convenience method for setting a single value Actually stores it as a list with one value.

Parameters:
value -


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.