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 SummaryModifier 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
 
- 
getParameterIndexdefault 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.
 
- 
isAutoPopulateddefault boolean isAutoPopulated()- Returns:
- if property is auto-populated
 
- 
isRequiresPreviousPopulatedValuedefault 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.
 
- 
isExpandabledefault boolean isExpandable()- Returns:
- Is expandable parameter
 
- 
getValueThe constant runtime value for the parameter.- Returns:
- the value or null
 
 
-