org.kuali.student.contract.model.test.source
Class SearchParamInfo.Builder
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchParamInfo.Builder
public SearchParamInfo.Builder()
SearchParamInfo.Builder
public SearchParamInfo.Builder(SearchParam searchInfo)
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.