Package io.micronaut.data.model.runtime
Interface QueryParameterBinding
- All Known Implementing Classes:
 DelegatingQueryParameterBinding,StoredQueryParameter
public interface QueryParameterBinding
The query parameter binding.
- Since:
 - 3.2
 - Author:
 - Denis Stepanov
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable DataTypedefault @Nullable JsonDataTypedefault @Nullable StringgetName()default @Nullable String[]default @Nullable Class<?>default intdefault @Nullable QueryParameterBindingdefault @Nullable String[]default @NonNull Stringdefault @NonNull String[]default @Nullable ObjectgetValue()The constant runtime value for the parameter.default booleandefault booleandefault boolean 
- 
Method Details
- 
getName
- Returns:
 - The name of the parameter
 
 - 
getRequiredName
- Returns:
 - The required name of the parameter or throws exception
 
 - 
getDataType
- Returns:
 - The data type
 
 - 
getJsonDataType
- Returns:
 - The JSON representation type if data type is JSON, default 
JsonDataType.DEFAULT 
 - 
getParameterConverterClass
- Returns:
 - The parameter converter class
 
 - 
getParameterIndex
default int getParameterIndex()- Returns:
 - The parameter index
 
 - 
getParameterBindingPath
- Returns:
 - The parameter binding property path.
 
 - 
getPropertyPath
- Returns:
 - The property path.
 
 - 
getRequiredPropertyPath
- Returns:
 - The required property path or throws and exception.
 
 - 
isAutoPopulated
default boolean isAutoPopulated()- Returns:
 - if property is auto-populated
 
 - 
isRequiresPreviousPopulatedValue
default boolean isRequiresPreviousPopulatedValue()- Returns:
 - if property is auto-populated and binding requires previous value to be set.
 
 - 
getPreviousPopulatedValueParameter
- Returns:
 - The previous value of the auto-populated property for cases when the property is mapped to the method parameter.
 
 - 
isExpandable
default boolean isExpandable()- Returns:
 - Is expandable parameter
 
 - 
getValue
The constant runtime value for the parameter.- Returns:
 - the value or null
 
 
 -