Interface QueryParameterBinding
-
@Internal public interface QueryParameterBinding
Query parameter binding, represents the data needed to bind a property to the query parameter.- Since:
- 2.4.0
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
getConverterClassName()
DataType
getDataType()
java.lang.String
getKey()
default java.lang.String[]
getParameterBindingPath()
default int
getParameterIndex()
default java.lang.String[]
getPropertyPath()
default java.lang.Object
getValue()
The constant runtime value.default boolean
isAutoPopulated()
default boolean
isExpandable()
default boolean
isRequiresPreviousPopulatedValue()
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
- Returns:
- The key represents the placeholder value in the query (usually it's ?).
-
getDataType
DataType getDataType()
- Returns:
- The data type
-
getConverterClassName
@Nullable default java.lang.String getConverterClassName()
- Returns:
- The converter class name
-
getParameterIndex
default int getParameterIndex()
- Returns:
- The parameter index
-
getParameterBindingPath
@Nullable default java.lang.String[] getParameterBindingPath()
- Returns:
- The parameter binding path
-
getPropertyPath
@Nullable default java.lang.String[] getPropertyPath()
- Returns:
- The property path
-
isAutoPopulated
default boolean isAutoPopulated()
- Returns:
- Is auto populated
-
isRequiresPreviousPopulatedValue
default boolean isRequiresPreviousPopulatedValue()
- Returns:
- Is requires previous populated value
-
isExpandable
default boolean isExpandable()
- Returns:
- Is expandable parameter
-
getValue
@Nullable default java.lang.Object getValue()
The constant runtime value.- Returns:
- The value or null
- Since:
- 3.5.0
-
-