Class PickQuestionSetBinder

java.lang.Object
nz.org.riskscape.engine.bind.BaseBinder
nz.org.riskscape.wizard.bind.PickQuestionSetBinder
All Implemented Interfaces:
nz.org.riskscape.engine.bind.ParameterBinder, nz.org.riskscape.engine.Identified

public class PickQuestionSetBinder extends nz.org.riskscape.engine.bind.BaseBinder

Dirt simple binder for creating a PickQuestionSet from a string. Note that it doesn't set the questionSet field of the PickQuestionSet instance - the survey code can do that if it really wants to.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> nz.org.riskscape.problem.ResultOrProblems<T>
    bindValue(nz.org.riskscape.engine.bind.BindingContext context, Object value, Class<T> destinationType)
     
    boolean
    canBind(Class<?> sourceType, Class<?> destinationType)
     

    Methods inherited from class nz.org.riskscape.engine.bind.BaseBinder

    bind, getId, wrapLookup, wrapLookupNullOnMissing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.Identified

    getIdentifiedClass
  • Constructor Details

    • PickQuestionSetBinder

      public PickQuestionSetBinder()
  • Method Details

    • canBind

      public boolean canBind(Class<?> sourceType, Class<?> destinationType)
    • bindValue

      public <T> nz.org.riskscape.problem.ResultOrProblems<T> bindValue(nz.org.riskscape.engine.bind.BindingContext context, Object value, Class<T> destinationType)