@Deprecated public interface BindParameterSource
NamedParameterExpander
operations.
This interface allows for the specification of the type in addition to parameter values. All parameter values and types are identified by specifying the name of the parameter.
Intended to wrap various implementations like a Map
with a consistent interface.
MapBindParameterSource
Modifier and Type | Method and Description |
---|---|
Streamable<String> |
getParameterNames()
Deprecated.
Returns parameter names of the underlying parameter source.
|
default Class<?> |
getType(String paramName)
Deprecated.
Determine the type for the specified named parameter.
|
Object |
getValue(String paramName)
Deprecated.
Return the parameter value for the requested named parameter.
|
boolean |
hasValue(String paramName)
Deprecated.
Determine whether there is a value for the specified named parameter.
|
boolean hasValue(String paramName)
paramName
- the name of the parameter.@Nullable Object getValue(String paramName) throws IllegalArgumentException
paramName
- the name of the parameter.IllegalArgumentException
- if there is no value for the requested parameter.default Class<?> getType(String paramName)
paramName
- the name of the parameter.Object.getClass()
if not known.Streamable<String> getParameterNames()
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.