Class RecordPagedQueryResponseImpl
java.lang.Object
com.commercetools.history.models.change_history.RecordPagedQueryResponseImpl
- All Implemented Interfaces:
RecordPagedQueryResponse,io.vrap.rmf.base.client.ModelBase
public class RecordPagedQueryResponseImpl
extends Object
implements RecordPagedQueryResponse, io.vrap.rmf.base.client.ModelBase
PagedQueryResult with results containing an array of Record.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCount()Actual number of results returned.getLimit()Number of results requested.Number of elements skipped.Records matching the query.getTotal()Total number of results matching the query.inthashCode()voidActual number of results returned.voidNumber of results requested.voidNumber of elements skipped.voidsetResults(Record... results) Records matching the query.voidsetResults(List<Record> results) Records matching the query.voidTotal number of results matching the query.toString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change_history.RecordPagedQueryResponse
withRecordPagedQueryResponse
-
Constructor Details
-
RecordPagedQueryResponseImpl
public RecordPagedQueryResponseImpl()create empty instance
-
-
Method Details
-
getLimit
Number of results requested.
- Specified by:
getLimitin interfaceRecordPagedQueryResponse- Returns:
- limit
-
getCount
Actual number of results returned.
- Specified by:
getCountin interfaceRecordPagedQueryResponse- Returns:
- count
-
getTotal
Total number of results matching the query. This number is an estimation and not strongly consistent.
- Specified by:
getTotalin interfaceRecordPagedQueryResponse- Returns:
- total
-
getOffset
Number of elements skipped.
- Specified by:
getOffsetin interfaceRecordPagedQueryResponse- Returns:
- offset
-
getResults
Records matching the query.
- Specified by:
getResultsin interfaceRecordPagedQueryResponse- Returns:
- results
-
setLimit
Description copied from interface:RecordPagedQueryResponseNumber of results requested.
- Specified by:
setLimitin interfaceRecordPagedQueryResponse- Parameters:
limit- value to be set
-
setCount
Description copied from interface:RecordPagedQueryResponseActual number of results returned.
- Specified by:
setCountin interfaceRecordPagedQueryResponse- Parameters:
count- value to be set
-
setTotal
Description copied from interface:RecordPagedQueryResponseTotal number of results matching the query. This number is an estimation and not strongly consistent.
- Specified by:
setTotalin interfaceRecordPagedQueryResponse- Parameters:
total- value to be set
-
setOffset
Description copied from interface:RecordPagedQueryResponseNumber of elements skipped.
- Specified by:
setOffsetin interfaceRecordPagedQueryResponse- Parameters:
offset- value to be set
-
setResults
Description copied from interface:RecordPagedQueryResponseRecords matching the query.
- Specified by:
setResultsin interfaceRecordPagedQueryResponse- Parameters:
results- values to be set
-
setResults
Description copied from interface:RecordPagedQueryResponseRecords matching the query.
- Specified by:
setResultsin interfaceRecordPagedQueryResponse- Parameters:
results- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-