|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.gshell.clp.setter.MethodSetter
public class MethodSetter
Setter for methods.
| Constructor Summary | |
|---|---|
MethodSetter(Object bean,
Method method)
|
|
| Method Summary | |
|---|---|
Class |
getType()
Gets the type of the underlying method/field. |
boolean |
isMultiValued()
Whether this setter is instrinsically multi-valued. |
void |
set(Object value)
Adds/sets a value to the property of the option bean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodSetter(Object bean,
Method method)
| Method Detail |
|---|
public Class getType()
Setter
getType in interface Setterpublic boolean isMultiValued()
Setter
isMultiValued in interface Setter
public void set(Object value)
throws ProcessingException
Setter
A Setter object has an implicit knowledge about the property it's setting,
and the instance of the option bean.
set in interface SetterProcessingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||