Annotation Type ActionParam


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface ActionParam
    Indicates an ActionMethod method parameter.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String constraintName  
      java.lang.String displayLabel  
      boolean mandatory  
      java.lang.String type
      The qualified name of the parameter type.
      java.lang.String value
      The parameter name.
    • Element Detail

      • value

        java.lang.String value
        The parameter name.

        As with ActionMethods, it is recommended to specify the name explicitly, preferably using a static String constant visible to code that invokes the action.

        If the parameter name is not specified, the parameter's Java variable name will be used instead. (The variable name is only available if classes are compiled with debug info.)

        Default:
        ""
      • type

        java.lang.String type
        The qualified name of the parameter type. If not specified, the Java parameter type is used to determine a matching DataTypeDefinition. For ambiguous cases, you need to specify the type explicitly.
        Default:
        ""
      • mandatory

        boolean mandatory
        Default:
        true
      • displayLabel

        java.lang.String displayLabel
        Default:
        ""
      • constraintName

        java.lang.String constraintName
        Default:
        ""