|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.Class type,
Expression name)
Create a new named parameter definition. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
evaluateArgument(java.lang.Object argumentSource,
EvaluationContext context)
Evaluate this method parameter against the provided argument source, returning a single method argument value. |
Expression |
getName()
Returns the parameter name. |
java.lang.Class |
getType()
Returns the parameter type. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Parameter(java.lang.Class type, Expression name)
type
- the parameter type, may be nullname
- the name the method argument expression (required)Method Detail |
---|
public java.lang.Class getType()
public Expression getName()
public java.lang.Object evaluateArgument(java.lang.Object argumentSource, EvaluationContext context)
argumentSource
- the meyhod argument sourcecontext
- the evaluation context
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |