org.formproc.form
Class AbstractFormElementGroup

java.lang.Object
  |
  +--org.formproc.form.AbstractFormElementGroup
All Implemented Interfaces:
FormElementGroup
Direct Known Subclasses:
BasicFormElementGroup, DefaultFormElementGroup

public abstract class AbstractFormElementGroup
extends java.lang.Object
implements FormElementGroup

Abstract base class which implements the FormElementGroup interface.

Author:
Anthony Eden

Field Summary
protected  java.util.List formElements
           
protected  java.lang.String name
           
protected  Validator validator
           
 
Constructor Summary
AbstractFormElementGroup()
          Construct an empty AbstractFormElementGroup.
AbstractFormElementGroup(java.util.List formElements)
          Construct an AbstractFormElementGroup with the given list of FormElements.
 
Method Summary
 java.util.List getFormElements()
          Get the List of FormElements in this group.
 java.lang.String getName()
          Get the form element group name.
 Validator getValidator()
          Get the Validator for this element group.
 void setName(java.lang.String name)
          Set the group name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formElements

protected java.util.List formElements

name

protected java.lang.String name

validator

protected Validator validator
Constructor Detail

AbstractFormElementGroup

public AbstractFormElementGroup()
Construct an empty AbstractFormElementGroup.


AbstractFormElementGroup

public AbstractFormElementGroup(java.util.List formElements)
Construct an AbstractFormElementGroup with the given list of FormElements.

Parameters:
formElements - The FormElement objects
Method Detail

getName

public java.lang.String getName()
Get the form element group name.

Specified by:
getName in interface FormElementGroup
Returns:
The name

setName

public void setName(java.lang.String name)
Set the group name.

Parameters:
name - The new group name

getFormElements

public java.util.List getFormElements()
Get the List of FormElements in this group.

Specified by:
getFormElements in interface FormElementGroup
Returns:
A List of FormElement objects

getValidator

public Validator getValidator()
Get the Validator for this element group.

Specified by:
getValidator in interface FormElementGroup
Returns:
A Validator


Copyright (c) 2001-2003 Anthony Eden. All Rights Reserved.