Package nz.org.riskscape.wizard
Class Answer.Response
java.lang.Object
nz.org.riskscape.wizard.Answer.Response
- Enclosing class:
- Answer
Records a user's response to a question. An Answer may contain multiple Responses,
depending on the Question's arity, or it may have zero Responses if it was skipped.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe result of converting user input in to an object that matches the type declared byQuestion.getParameterType()The input from the user that was used to createboundValueinthashCode()toString()
-
Constructor Details
-
Response
Creates a new
Responseinstance.- Parameters:
boundValue- The result of converting user input in to an object that matches the type declared byQuestion.getParameterType()originalInput- The input from the user that was used to createboundValue
-
-
Method Details
-
getBoundValue
The result of converting user input in to an object that matches the type declared by
Question.getParameterType() -
getOriginalInput
The input from the user that was used to create
boundValue -
equals
-
hashCode
public int hashCode() -
toString
-