|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.binding.method.Parameter
public class Parameter
A named method parameter. Each parameter has an identifying name and is of a specified type (class).
Constructor Summary | |
---|---|
Parameter(Class type,
Expression name)
Create a new named parameter definition. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Object |
evaluateArgument(Object argumentSource)
Evaluate this method parameter against the provided argument source, returning a single method argument value. |
Expression |
getName()
Returns the parameter name. |
Class |
getType()
Returns the parameter type. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Parameter(Class type, Expression name)
type
- the parameter type, may be nullname
- the name the method argument expression (required)Method Detail |
---|
public Class getType()
public Expression getName()
public Object evaluateArgument(Object argumentSource)
argumentSource
- the method argument source
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |