org.openfjord.business.domain
Interface SurveyElementContainer

All Superinterfaces:
SurveyElement
All Known Subinterfaces:
Paragraph, SurveyFooter, SurveyHeader
All Known Implementing Classes:
ParagraphVO, SurveyElementContainerVO, SurveyFooterVO, SurveyHeaderVO

public interface SurveyElementContainer
extends SurveyElement

The interface for a survey-element-container item

Title: openFJORD

Description: open Flexible Java Online Research Designer

Copyright: Copyright (c) 2003

Company: University of Muenster

Version:
1.0
Author:
Markus Pütz

Method Summary
 void addElement(SurveyElement element)
          Adds a survey-element to the container
 java.util.Iterator getElementIterator()
          Returns an iterator with all survey-elements of the container
 java.util.Collection getElements()
          returns a collection of sub elements
 void removeElement(SurveyElement element)
          removes a survey-element from the container
 void setElements(java.util.Collection elements)
          sets the collection of subelements.
 
Methods inherited from interface org.openfjord.business.domain.SurveyElement
getId, getName, getParent, setName, setParent
 

Method Detail

addElement

public void addElement(SurveyElement element)
Adds a survey-element to the container

Parameters:
element - the survey-element to be added

removeElement

public void removeElement(SurveyElement element)
removes a survey-element from the container

Parameters:
element - the survey-element to be removed

getElementIterator

public java.util.Iterator getElementIterator()
Returns an iterator with all survey-elements of the container

Returns:
the iterator with the survey elements

getElements

public java.util.Collection getElements()
returns a collection of sub elements

Returns:
Collection of sub elements

setElements

public void setElements(java.util.Collection elements)
sets the collection of subelements. It may only contain object that implements SurveyElement interface

Parameters:
elements - collection of elements containing


openFJORD Copyright © 2003 University of Muenster.