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.result
Class FormResult

java.lang.Object
  extended by org.torweg.pulse.result.FormResult
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExtendedFormResult

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

A result for a form.

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

Nested Class Summary
static class FormResult.FormFieldResult
          A result for a form field.
static class FormResult.FormFieldStatus
          The different form field status types.
 
Constructor Summary
FormResult()
          The default constructor.
FormResult(java.util.Collection<? extends FormResult.FormFieldResult> r)
          The constructor that sets the FormFieldResults.
 
Method Summary
 FormResult.FormFieldResult getFormFieldResult(java.lang.String n)
          Returns the FormFieldResult with the given name or null.
 java.util.List<FormResult.FormFieldResult> getFormFieldResults()
          Returns the FormFieldResults as an unmodifiable List.
 void setFormFieldResults(java.util.Collection<? extends FormResult.FormFieldResult> r)
          Sets the FormFieldResults.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormResult

public FormResult()
The default constructor.


FormResult

public FormResult(java.util.Collection<? extends FormResult.FormFieldResult> r)
The constructor that sets the FormFieldResults.

Parameters:
r - the FormFieldResults to set
Method Detail

getFormFieldResults

public final java.util.List<FormResult.FormFieldResult> getFormFieldResults()
Returns the FormFieldResults as an unmodifiable List.

Returns:
an unmodifiable view of the FormFieldResults

setFormFieldResults

public final void setFormFieldResults(java.util.Collection<? extends FormResult.FormFieldResult> r)
Sets the FormFieldResults.

Parameters:
r - the FormFieldResults to set

getFormFieldResult

public final FormResult.FormFieldResult getFormFieldResult(java.lang.String n)
Returns the FormFieldResult with the given name or null.

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