Class BooleanBinder

java.lang.Object
nz.org.riskscape.engine.bind.BaseBinder
nz.org.riskscape.engine.bind.TypeSafeBinder<Object,Boolean>
nz.org.riskscape.engine.bind.impl.BooleanBinder
All Implemented Interfaces:
nz.org.riskscape.engine.bind.ParameterBinder, nz.org.riskscape.engine.Identified

public class BooleanBinder extends nz.org.riskscape.engine.bind.TypeSafeBinder<Object,Boolean>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
     
    static final List<String>
     

    Fields inherited from class nz.org.riskscape.engine.bind.TypeSafeBinder

    acceptsSourceType, bindsType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.problem.ResultOrProblems<Boolean>
    bindTypedValue(nz.org.riskscape.engine.bind.BindingContext context, Object objValue)
     
    nz.org.riskscape.problem.ResultOrProblems<Boolean>
    bindValue(Object objValue)
     

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

    bindValue, canBind

    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
  • Field Details

    • TRUE_OPTIONS

      public static final List<String> TRUE_OPTIONS
    • FALSE_OPTIONS

      public static final List<String> FALSE_OPTIONS
  • Constructor Details

    • BooleanBinder

      public BooleanBinder()
  • Method Details

    • bindTypedValue

      protected nz.org.riskscape.problem.ResultOrProblems<Boolean> bindTypedValue(nz.org.riskscape.engine.bind.BindingContext context, Object objValue)
      Specified by:
      bindTypedValue in class nz.org.riskscape.engine.bind.TypeSafeBinder<Object,Boolean>
    • bindValue

      public nz.org.riskscape.problem.ResultOrProblems<Boolean> bindValue(Object objValue)