org.sonatype.gshell.util.setter
Class MethodSetter
java.lang.Object
org.sonatype.gshell.util.setter.SetterSupport
org.sonatype.gshell.util.setter.MethodSetter
- All Implemented Interfaces:
- Setter
public class MethodSetter
- extends SetterSupport
Setter for methods.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodSetter
public MethodSetter(Method method,
Object bean)
getName
public String getName()
getType
public Class getType()
isMultiValued
public boolean isMultiValued()
- Description copied from interface:
Setter
- Whether this setter is intrinsically multi-valued.
doSet
protected void doSet(Object value)
throws IllegalAccessException
- Specified by:
doSet in class SetterSupport
- Throws:
IllegalAccessException
Copyright © 2008-2011 Sonatype. All Rights Reserved.