ch.ralscha.extdirectspring.bean
Class ExtDirectStoreResponse<T>

java.lang.Object
  extended by ch.ralscha.extdirectspring.bean.ExtDirectStoreResponse<T>

public class ExtDirectStoreResponse<T>
extends Object

Class representing the response of a DirectStore request

Author:
Ralph Schaer

Constructor Summary
ExtDirectStoreResponse()
           
ExtDirectStoreResponse(Collection<T> records)
           
ExtDirectStoreResponse(Integer total, Collection<T> records)
           
ExtDirectStoreResponse(Integer total, Collection<T> records, Boolean success)
           
 
Method Summary
 Collection<T> getRecords()
           
 Integer getTotal()
           
 Boolean isSuccess()
           
 void setRecords(Collection<T> records)
           
 void setSuccess(Boolean success)
           
 void setTotal(Integer total)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.