public class CriteriaSearchConfiguration extends Object
CriteriaSearch
.Constructor and Description |
---|
CriteriaSearchConfiguration()
Constructs a new CriteriaSearchConfiguration instance with all fields set to
either
null or false . |
Modifier and Type | Method and Description |
---|---|
Integer |
getFetchSize()
Gets the fetch size.
|
Integer |
getFirstResult()
Gets the first result to retrieve.
|
Integer |
getMaximumResultSize()
Gets the maximum size of the search result.
|
boolean |
isForceEagerLoading()
Returns whether or not eager loading is enabled.
|
void |
setFetchSize(Integer fetchSizeIn)
Sets the fetch size.
|
void |
setFirstResult(Integer firstResultIn)
Sets the first result to retrieve.
|
void |
setForceEagerLoading(boolean forceEagerLoadingIn)
Sets whether or not eager loading is to be enabled.
|
void |
setMaximumResultSize(Integer maximumResultSizeIn)
Sets the maximum size of the result.
|
public CriteriaSearchConfiguration()
null
or false
.public boolean isForceEagerLoading()
true
if eager loading is enabled, false
otherwisepublic void setForceEagerLoading(boolean forceEagerLoadingIn)
forceEagerLoadingIn
- true
if eager loading is to be enabled, false
otherwisepublic Integer getFirstResult()
public void setFirstResult(Integer firstResultIn)
firstResultIn
- the first result to retrievepublic Integer getFetchSize()
public void setFetchSize(Integer fetchSizeIn)
fetchSizeIn
- the fetch sizepublic Integer getMaximumResultSize()
public void setMaximumResultSize(Integer maximumResultSizeIn)
maximumResultSizeIn
- A number indicating how many results will be returned.Copyright © 2012–2014 IFREMER. All rights reserved.