Spring Data Core

org.springframework.data.repository.query
Class DefaultParameters

java.lang.Object
  extended by org.springframework.data.repository.query.Parameters<DefaultParameters,Parameter>
      extended by 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

Field Summary
 
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
 
Constructor Summary
DefaultParameters(Method method)
          Creates a new DefaultParameters instance from the given Method.
 
Method Summary
protected  DefaultParameters createFrom(List<Parameter> parameters)
           
protected  Parameter createParameter(MethodParameter parameter)
          Creates a Parameter instance for the given MethodParameter.
 
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
 

Constructor Detail

DefaultParameters

public DefaultParameters(Method method)
Creates a new DefaultParameters instance from the given Method.

Parameters:
method - must not be null.
Method Detail

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>

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.