Annotation Interface DataMethodQueryParameter


@Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) @Internal @Inherited public @interface DataMethodQueryParameter
Internal annotation representing query parameter binding.
Since:
3.2
Author:
Denis Stepanov
  • Field Details

    • META_MEMBER_NAME

      static final String META_MEMBER_NAME
      The member name that holds an optional query parameter name.
      See Also:
    • META_MEMBER_DATA_TYPE

      static final String META_MEMBER_DATA_TYPE
      The member name that holds the data type.
      See Also:
    • META_MEMBER_JSON_DATA_TYPE

      static final String META_MEMBER_JSON_DATA_TYPE
      The member name that holds the JSON data type.
      See Also:
    • META_MEMBER_PARAMETER_INDEX

      static final String META_MEMBER_PARAMETER_INDEX
      The member name that holds the parameter index.
      See Also:
    • META_MEMBER_PARAMETER_BINDING_PATH

      static final String META_MEMBER_PARAMETER_BINDING_PATH
      The member name that holds the parameter binding path.
      See Also:
    • META_MEMBER_PROPERTY

      static final String META_MEMBER_PROPERTY
      The member name that holds the property name.
      See Also:
    • META_MEMBER_PROPERTY_PATH

      static final String META_MEMBER_PROPERTY_PATH
      The member name that holds the property path.
      See Also:
    • META_MEMBER_CONVERTER

      static final String META_MEMBER_CONVERTER
      The member name that holds the converter class.
      See Also:
    • META_MEMBER_AUTO_POPULATED

      static final String META_MEMBER_AUTO_POPULATED
      The member name that holds the auto-populated value.
      See Also:
    • META_MEMBER_REQUIRES_PREVIOUS_POPULATED_VALUES

      static final String META_MEMBER_REQUIRES_PREVIOUS_POPULATED_VALUES
      The member name that holds requiresPreviousPopulatedValue.
      See Also:
    • META_MEMBER_EXPANDABLE

      static final String META_MEMBER_EXPANDABLE
      The member name that holds expandable.
      See Also:
    • META_MEMBER_EXPRESSION

      static final String META_MEMBER_EXPRESSION
      The member name that holds expression flag.
      See Also:
    • META_MEMBER_ROLE

      static final String META_MEMBER_ROLE
      The member name that holds the role name.
      See Also:
    • META_MEMBER_TABLE_ALIAS

      static final String META_MEMBER_TABLE_ALIAS
      The member name that holds the table alias.
      See Also:
  • Element Details

    • value

      String value
      Returns:
      The query parameter value
      Default:
      ""
    • name

      String name
      Returns:
      The query parameter name
      Default:
      ""
    • dataType

      DataType dataType
      Returns:
      The data type.
      Default:
      OBJECT
    • parameterIndex

      int parameterIndex
      Returns:
      The parameter index
      Default:
      -1
    • parameterBindingPath

      String[] parameterBindingPath
      Returns:
      The parameter binding property path
      Default:
      {}
    • property

      String property
      The property name that this parameter is representing. If property is from an association or an embedded entity the value would be empty and `propertyPath` would be set instead.
      Returns:
      The property name.
      Default:
      ""
    • propertyPath

      String[] propertyPath
      The path to the property that this parameter is representing. Only set if the property is from an association or from an embedded entity.
      Returns:
      The property path.
      Default:
      {}
    • converter

      Class[] converter
      Returns:
      The property converter class
      Default:
      {}
    • autoPopulated

      boolean autoPopulated
      Returns:
      true if property is auto-populated
      Default:
      false
    • requiresPreviousPopulatedValue

      boolean requiresPreviousPopulatedValue
      Returns:
      true if the value has to be previous populated value and not a newly generated.
      Default:
      false