org.sonatype.gshell.util.setter
Class FieldSetter
java.lang.Object
org.sonatype.gshell.util.setter.SetterSupport
org.sonatype.gshell.util.setter.FieldSetter
- All Implemented Interfaces:
- Setter
- Direct Known Subclasses:
- CollectionFieldSetter
public class FieldSetter
- extends SetterSupport
Setter for fields.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
field
protected final Field field
FieldSetter
public FieldSetter(Field field,
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.