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 java.lang.Object
Class representing the response of a DirectStore request
- Author:
- Ralph Schaer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtDirectStoreResponse
public ExtDirectStoreResponse()
ExtDirectStoreResponse
public ExtDirectStoreResponse(java.util.Collection<T> records)
ExtDirectStoreResponse
public ExtDirectStoreResponse(java.lang.Integer total,
java.util.Collection<T> records)
ExtDirectStoreResponse
public ExtDirectStoreResponse(java.lang.Integer total,
java.util.Collection<T> records,
java.lang.Boolean success)
init
protected void init(java.lang.Integer _total,
java.util.Collection<T> _records,
java.lang.Boolean _success)
getTotal
public java.lang.Integer getTotal()
getRecords
public java.util.Collection<T> getRecords()
isSuccess
public java.lang.Boolean isSuccess()
getMetaData
public java.util.Map<java.lang.String,java.lang.Object> getMetaData()
setMetaData
public void setMetaData(MetaData metaData)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010-2011. All Rights Reserved.