args4j 2.0.12-redhat-1

org.kohsuke.args4j
Class MapSetter

java.lang.Object
  extended by org.kohsuke.args4j.MapSetter
All Implemented Interfaces:
Setter

public class MapSetter
extends Object
implements Setter


Constructor Summary
MapSetter(Object bean, Field f)
           
 
Method Summary
 void addValue(Object value)
          Adds/sets a value to the property of the option bean.
 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

MapSetter

public MapSetter(Object bean,
                 Field f)
Method Detail

getType

public Class getType()
Description copied from interface: Setter
Gets the type of the underlying method/field.

Specified by:
getType in interface Setter

isMultiValued

public boolean isMultiValued()
Description copied from interface: Setter
Whether this setter is instrinsically multi-valued.

Specified by:
isMultiValued in interface Setter

addValue

public void addValue(Object value)
Description copied from interface: Setter
Adds/sets a value to the property of the option bean.

A Setter object has an implicit knowledge about the property it's setting, and the instance of the option bean.

Specified by:
addValue in interface Setter

args4j 2.0.12-redhat-1

Copyright © 2003-2012 JBoss by Red Hat. All Rights Reserved.