org.graffiti.plugin
Interface Parametrizable

All Known Subinterfaces:
Algorithm, CalculatingAlgorithm, EditorAlgorithm, InputSerializer, OutputSerializer
All Known Implementing Classes:
AbstractAlgorithm, AbstractEditorAlgorithm, AbstractInputSerializer, AbstractIOSerializer, AbstractOutputSerializer, AbstractParametrizable, AbstractThreadSaveLayoutAlgorithm, ThreadSafeAlgorithm, XMLSerializer

public interface Parametrizable

Version:
$Revision$ $Date$
Author:
brunner

Method Summary
 Parameter<?>[] getDefaultParameters()
          Returns the default parameters for this Parametrizable.
 String getName()
          Returns the name (id) of this Parametrizable.
 Parameter<?>[] getParameters()
          Returns a list of Parameter that are set for this Parametrizable.
 void setParameters(Parameter<?>[] params)
          Sets the parameters for this Parametrizable.
 

Method Detail

getName

String getName()
Returns the name (id) of this Parametrizable.

Returns:
DOCUMENT ME!

setParameters

void setParameters(Parameter<?>[] params)
Sets the parameters for this Parametrizable. Must have the same types and order as the array returned by getParameter.


getParameters

Parameter<?>[] getParameters()
Returns a list of Parameter that are set for this Parametrizable.

Returns:
a collection of Parameter that are needed by the Parametrizable.

getDefaultParameters

Parameter<?>[] getDefaultParameters()
Returns the default parameters for this Parametrizable.

Returns:
the parametrizable's default parameters


Generated at 2012-05-30 11:00:36 PM CEST