com.heckmansoft.surjey.model.vo.lazy
Class LazyResponse

java.lang.Object
  extended bycom.heckmansoft.surjey.model.vo.ValueObject
      extended bycom.heckmansoft.surjey.model.vo.Response
          extended bycom.heckmansoft.surjey.model.vo.lazy.LazyResponse
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class LazyResponse
extends Response

A response that follows the lazy pattern. Contains a list of answers. Answers are automatically retrieved from the response manager only when they are first accessed using getAnswers()

See Also:
Serialized Form

Constructor Summary
LazyResponse(ResponseManager manager)
          Constructor
 
Method Summary
 ValueObjectList getResponseAnswers()
           
 
Methods inherited from class com.heckmansoft.surjey.model.vo.Response
compareTo, equals, getRespondentAddress, getSurveyId, hasNoAnswers, setRespondentAddress, setResponseAnswers, setSurveyId, toString
 
Methods inherited from class com.heckmansoft.surjey.model.vo.ValueObject
getId, getName, hashCode, setId, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyResponse

public LazyResponse(ResponseManager manager)
Constructor

Parameters:
manager - A response manager
Method Detail

getResponseAnswers

public ValueObjectList getResponseAnswers()
Overrides:
getResponseAnswers in class Response