org.apache.pluto.om.common
Interface ParameterSetCtrl

All Superinterfaces:
Controller

public interface ParameterSetCtrl
extends Controller

The ParameterSetCtrl interface ...

This interface defines the controller as known from the MVC pattern. Its purpose is to provide write access to the data stored in the model.


Method Summary
 Parameter add(java.lang.String name, java.lang.String value)
          Creates a new parameter and adds it to the set
 void remove(Parameter parameter)
          Removes the given parameter from the set
 Parameter remove(java.lang.String name)
          Removes the parameter with the given name from the set
 

Method Detail

add

public Parameter add(java.lang.String name,
                     java.lang.String value)
Creates a new parameter and adds it to the set

Parameters:
name - the name of the new parameter
value - the value of the new parameter
Returns:
the new parameter

remove

public Parameter remove(java.lang.String name)
Removes the parameter with the given name from the set

Parameters:
name - the name of the parameter to be removed
Returns:
the removed parameter

remove

public void remove(Parameter parameter)
Removes the given parameter from the set

Parameters:
parameter - the parameter to be removed


Copyright © 2003-2005 . All Rights Reserved.