ch.ralscha.extdirectspring.bean
Class ExtDirectStoreResponse<T>
java.lang.Object
ch.ralscha.extdirectspring.bean.ExtDirectStoreResponse<T>
- Type Parameters:
T - Type of the entry inside the collection
- Direct Known Subclasses:
- ExtDirectRawJsonStoreResponse
public class ExtDirectStoreResponse<T>
- extends Object
Class representing the response of a DirectStore request
- Author:
- Ralph Schaer
ExtDirectStoreResponse
public ExtDirectStoreResponse()
ExtDirectStoreResponse
public ExtDirectStoreResponse(Collection<T> records)
ExtDirectStoreResponse
public ExtDirectStoreResponse(Integer total,
Collection<T> records)
ExtDirectStoreResponse
public ExtDirectStoreResponse(Integer total,
Collection<T> records,
Boolean success)
getTotal
public Integer getTotal()
setTotal
public void setTotal(Integer total)
getRecords
public Collection<T> getRecords()
setRecords
public void setRecords(Collection<T> records)
isSuccess
public Boolean isSuccess()
setSuccess
public void setSuccess(Boolean success)
getMetaData
public Map<String,Object> getMetaData()
setMetaData
public void setMetaData(MetaData metaData)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2011. All Rights Reserved.