Annotation Type ParameterMapper


  • @Target({PARAMETER,METHOD})
    @Retention(RUNTIME)
    public @interface ParameterMapper
    The parameter mapper can be used to state how a parameter should be mapped for a rest service invocation.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Value mapper
      The class or creation expression of the mapper.
      int[] source
      The parameter numbers that should be passed to the mapper as input.
      java.lang.String value
      The parameter name as used in the rest call.
    • Element Detail

      • value

        java.lang.String value
        The parameter name as used in the rest call.
        Default:
        ""
      • source

        int[] source
        The parameter numbers that should be passed to the mapper as input. If not given only the annotated parameter will be given. (from 0: the first till n: the last).
        Default:
        {}
      • mapper

        Value mapper
        The class or creation expression of the mapper.
        Default:
        @jadex.bridge.service.annotation.Value