au.gov.tas.dpiwe.mr.response
Class SelectResponse

java.lang.Object
  extended by au.gov.tas.dpiwe.mr.response.Response
      extended by au.gov.tas.dpiwe.mr.response.SelectResponse
All Implemented Interfaces:
MultiBeanResponse, Serializable

public class SelectResponse
extends Response
implements MultiBeanResponse

The output of the servlet for the select command, containing this and other passivated persistent entity beans forming the result set.

Since:
Mr Architecture 1.0
Version:
1.0.0.1
Author:
Kade Hansson
See Also:
SelectCommand, Serialized Form

Field Summary
protected  Collection beans
          The resulting beans in this Response.
 
Fields inherited from class au.gov.tas.dpiwe.mr.response.Response
bean
 
Constructor Summary
SelectResponse(Collection beans)
          Construct a new join response.
 
Method Summary
 Collection getResults()
          Get the collection of beans comprising this response.
 
Methods inherited from class au.gov.tas.dpiwe.mr.response.Response
getCommand, getResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beans

protected Collection beans
The resulting beans in this Response.

Constructor Detail

SelectResponse

public SelectResponse(Collection beans)
Construct a new join response.

Parameters:
beans - the collection of passivated siamese beans.
Method Detail

getResults

public Collection getResults()
Get the collection of beans comprising this response.

Specified by:
getResults in interface MultiBeanResponse
Returns:
the collection of beans comprising this response.