pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.configuration
Class FormConfiguration

java.lang.Object
  extended by org.torweg.pulse.configuration.FormConfiguration
All Implemented Interfaces:
java.io.Serializable

public class FormConfiguration
extends java.lang.Object
implements java.io.Serializable

A configuration for a form.

Version:
$Revision: 1387 $
Author:
Christian Schatt
See Also:
Serialized Form

Nested Class Summary
static class FormConfiguration.FormFieldConfiguration
          A configuration for a form field.
 
Constructor Summary
protected FormConfiguration()
          The default constructor.
  FormConfiguration(java.util.Collection<? extends FormConfiguration.FormFieldConfiguration> c)
          The constructor that sets the FormFieldConfigurations.
 
Method Summary
 FormConfiguration.FormFieldConfiguration getFormFieldConfiguration(java.lang.String n)
          Returns the FormFieldConfiguration with the given name or null.
 java.util.Collection<FormConfiguration.FormFieldConfiguration> getFormFieldConfigurations()
          Returns the FormFieldConfigurations as an unmodifiable Collection.
protected  void setFormFieldConfigurations(java.util.Collection<? extends FormConfiguration.FormFieldConfiguration> c)
          Sets the FormFieldConfigurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormConfiguration

protected FormConfiguration()
The default constructor.


FormConfiguration

public FormConfiguration(java.util.Collection<? extends FormConfiguration.FormFieldConfiguration> c)
The constructor that sets the FormFieldConfigurations.

Parameters:
c - the FormFieldConfigurations to set
Method Detail

getFormFieldConfigurations

public final java.util.Collection<FormConfiguration.FormFieldConfiguration> getFormFieldConfigurations()
Returns the FormFieldConfigurations as an unmodifiable Collection.

Returns:
an unmodifiable view of the FormFieldConfigurations.

setFormFieldConfigurations

protected final void setFormFieldConfigurations(java.util.Collection<? extends FormConfiguration.FormFieldConfiguration> c)
Sets the FormFieldConfigurations.

Parameters:
c - the FormFieldConfigurations to set

getFormFieldConfiguration

public final FormConfiguration.FormFieldConfiguration getFormFieldConfiguration(java.lang.String n)
Returns the FormFieldConfiguration with the given name or null.

Parameters:
n - the name of the FormFieldConfiguration to be returned
Returns:
the FormFieldConfiguration with the given name or null