org.apache.geronimo.gshell.clp.setter
Interface Setter<T>

All Known Implementing Classes:
CollectionFieldSetter, FieldSetter, MethodSetter

public interface Setter<T>

Provides the basic mechanism to set values.

Version:
$Rev: 570606 $ $Date: 2007-08-28 19:17:11 -0700 (Tue, 28 Aug 2007) $

Method Summary
 Class<T> getType()
          Gets the type of the underlying method/field.
 boolean isMultiValued()
          Whether this setter is instrinsically multi-valued.
 void set(T value)
          Adds/sets a value to the property of the option bean.
 

Method Detail

set

void set(T value)
         throws ProcessingException
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.

Throws:
ProcessingException

getType

Class<T> getType()
Gets the type of the underlying method/field.


isMultiValued

boolean isMultiValued()
Whether this setter is instrinsically multi-valued.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.