org.apache.geronimo.gshell.clp.setter
Class CollectionFieldSetter
java.lang.Object
org.apache.geronimo.gshell.clp.setter.FieldSetter
org.apache.geronimo.gshell.clp.setter.CollectionFieldSetter
- All Implemented Interfaces:
- Setter
public class CollectionFieldSetter
- extends FieldSetter
Setter for fields of collection types. Currently supports lists and sets.
- Version:
- $Rev: 570994 $ $Date: 2007-08-29 17:18:44 -0700 (Wed, 29 Aug 2007) $
|
Method Summary |
protected void |
doSet(Object value)
|
Class |
getType()
Gets the type of the underlying method/field. |
boolean |
isMultiValued()
Whether this setter is instrinsically multi-valued. |
| Methods inherited from class org.apache.geronimo.gshell.clp.setter.FieldSetter |
set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionFieldSetter
public CollectionFieldSetter(Object bean,
Field field)
isMultiValued
public boolean isMultiValued()
- Description copied from interface:
Setter
- Whether this setter is instrinsically multi-valued.
- Specified by:
isMultiValued in interface Setter- Overrides:
isMultiValued in class FieldSetter
getType
public Class getType()
- Description copied from interface:
Setter
- Gets the type of the underlying method/field.
- Specified by:
getType in interface Setter- Overrides:
getType in class FieldSetter
doSet
protected void doSet(Object value)
throws IllegalAccessException
- Overrides:
doSet in class FieldSetter
- Throws:
IllegalAccessException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.