Class AttributeMapBinder

java.lang.Object
nz.org.riskscape.engine.bind.BaseBinder
nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.engine.data.relation.AttributeMap>
nz.org.riskscape.engine.data.relation.AttributeMapBinder
All Implemented Interfaces:
nz.org.riskscape.engine.bind.ParameterBinder, nz.org.riskscape.engine.Identified

public class AttributeMapBinder extends nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.engine.data.relation.AttributeMap>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    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<nz.org.riskscape.engine.data.relation.AttributeMap>
    bindTypedValue(nz.org.riskscape.engine.bind.BindingContext context, Object value)
     
    boolean
    canBind(Class<?> sourceType, Class<?> destinationType)
     

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

    bindValue

    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

  • Constructor Details

    • AttributeMapBinder

      public AttributeMapBinder()
  • Method Details

    • canBind

      public boolean canBind(Class<?> sourceType, Class<?> destinationType)
      Specified by:
      canBind in interface nz.org.riskscape.engine.bind.ParameterBinder
      Overrides:
      canBind in class nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.engine.data.relation.AttributeMap>
    • bindTypedValue

      protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.data.relation.AttributeMap> bindTypedValue(nz.org.riskscape.engine.bind.BindingContext context, Object value)
      Specified by:
      bindTypedValue in class nz.org.riskscape.engine.bind.TypeSafeBinder<Object,nz.org.riskscape.engine.data.relation.AttributeMap>