org.springframework.data.repository.query
Class DefaultParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<DefaultParameters,Parameter>
org.springframework.data.repository.query.DefaultParameters
- All Implemented Interfaces:
- Iterable<Parameter>
public final class DefaultParameters
- extends Parameters<DefaultParameters,Parameter>
Default implementation of Parameters
.
- Author:
- Oliver Gierke
Fields inherited from class org.springframework.data.repository.query.Parameters |
TYPES |
Methods inherited from class org.springframework.data.repository.query.Parameters |
getBindableParameter, getBindableParameters, getNumberOfParameters, getPageableIndex, getParameter, getSortIndex, hasPageableParameter, hasParameterAt, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamically |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultParameters
public DefaultParameters(Method method)
- Creates a new
DefaultParameters
instance from the given Method
.
- Parameters:
method
- must not be null.
createParameter
protected Parameter createParameter(MethodParameter parameter)
- Description copied from class:
Parameters
- Creates a
Parameter
instance for the given MethodParameter
.
- Specified by:
createParameter
in class Parameters<DefaultParameters,Parameter>
- Parameters:
parameter
- will never be null.
- Returns:
createFrom
protected DefaultParameters createFrom(List<Parameter> parameters)
- Specified by:
createFrom
in class Parameters<DefaultParameters,Parameter>
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.