Package io.micronaut.data.model.runtime
Class DelegatingQueryParameterBinding
java.lang.Object
io.micronaut.data.model.runtime.DelegatingQueryParameterBinding
- All Implemented Interfaces:
- QueryParameterBinding
@Internal
public abstract class DelegatingQueryParameterBinding
extends Object
implements QueryParameterBinding
Delegating 
QueryParameterBinding. Intended for overriding some of the QueryParameterBinding's properties.- Since:
- 3.8.0
- Author:
- Denis Stepanov
- 
Constructor Details- 
DelegatingQueryParameterBinding
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- QueryParameterBinding
- Returns:
- The name of the parameter
 
- 
getRequiredName- Specified by:
- getRequiredNamein interface- QueryParameterBinding
- Returns:
- The required name of the parameter or throws exception
 
- 
getDataType- Specified by:
- getDataTypein interface- QueryParameterBinding
- Returns:
- The data type
 
- 
getJsonDataType- Specified by:
- getJsonDataTypein interface- QueryParameterBinding
- Returns:
- The JSON representation type if data type is JSON, default JsonDataType.DEFAULT
 
- 
getParameterConverterClass- Specified by:
- getParameterConverterClassin interface- QueryParameterBinding
- Returns:
- The parameter converter class
 
- 
getParameterIndexpublic int getParameterIndex()- Specified by:
- getParameterIndexin interface- QueryParameterBinding
- Returns:
- The parameter index
 
- 
getParameterBindingPath- Specified by:
- getParameterBindingPathin interface- QueryParameterBinding
- Returns:
- The parameter binding property path.
 
- 
getPropertyPath- Specified by:
- getPropertyPathin interface- QueryParameterBinding
- Returns:
- The property path.
 
- 
getRequiredPropertyPath- Specified by:
- getRequiredPropertyPathin interface- QueryParameterBinding
- Returns:
- The required property path or throws and exception.
 
- 
isAutoPopulatedpublic boolean isAutoPopulated()- Specified by:
- isAutoPopulatedin interface- QueryParameterBinding
- Returns:
- if property is auto-populated
 
- 
isRequiresPreviousPopulatedValuepublic boolean isRequiresPreviousPopulatedValue()- Specified by:
- isRequiresPreviousPopulatedValuein interface- QueryParameterBinding
- Returns:
- if property is auto-populated and binding requires previous value to be set.
 
- 
getPreviousPopulatedValueParameter- Specified by:
- getPreviousPopulatedValueParameterin interface- QueryParameterBinding
- Returns:
- The previous value of the auto-populated property for cases when the property is mapped to the method parameter.
 
- 
isExpandablepublic boolean isExpandable()- Specified by:
- isExpandablein interface- QueryParameterBinding
- Returns:
- Is expandable parameter
 
- 
getValueDescription copied from interface:QueryParameterBindingThe constant runtime value for the parameter.- Specified by:
- getValuein interface- QueryParameterBinding
- Returns:
- the value or null
 
 
-