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