Class Parameter
java.lang.Object
org.springframework.binding.method.Parameter
A named method parameter. Each parameter has an identifying name and is of a specified type (class).
- Author:
- Keith Donald
- 
Constructor SummaryConstructorsConstructorDescriptionParameter(Class<?> type, Expression name) Create a new named parameter definition.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanevaluateArgument(Object argumentSource) Evaluate this method parameter against the provided argument source, returning a single method argument value.getName()Returns the parameter name.Class<?>getType()Returns the parameter type.inthashCode()toString()
- 
Constructor Details- 
ParameterCreate a new named parameter definition. Named parameters are capable of resolving parameter values (arguments) from argument sources.- Parameters:
- type- the parameter type, may be null
- name- the name the method argument expression (required)
 
 
- 
- 
Method Details- 
getTypeReturns the parameter type. Could be null if no parameter type was specified.
- 
getNameReturns the parameter name.
- 
evaluateArgumentEvaluate this method parameter against the provided argument source, returning a single method argument value.- Parameters:
- argumentSource- the method argument source
- Returns:
- the method argument value
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-