org.openfjord.business.entities.valueobjects
Class SurveyElementContainerVO

java.lang.Object
  |
  +--org.openfjord.business.entities.valueobjects.SurveyElementVO
        |
        +--org.openfjord.business.entities.valueobjects.SurveyElementContainerVO
All Implemented Interfaces:
java.io.Serializable, SurveyElement, SurveyElementContainer
Direct Known Subclasses:
ParagraphVO, SurveyFooterVO, SurveyHeaderVO

public class SurveyElementContainerVO
extends SurveyElementVO
implements SurveyElementContainer, java.io.Serializable

value object for SurveyElementContainer

Version:
1.0
Author:
Ingo Düppe
See Also:
Serialized Form

Constructor Summary
SurveyElementContainerVO()
           
SurveyElementContainerVO(java.lang.String id)
           
 
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 class org.openfjord.business.entities.valueobjects.SurveyElementVO
getId, getName, getParent, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openfjord.business.domain.SurveyElement
getId, getName, getParent, setName, setParent
 

Constructor Detail

SurveyElementContainerVO

public SurveyElementContainerVO(java.lang.String id)

SurveyElementContainerVO

public SurveyElementContainerVO()
Method Detail

removeElement

public void removeElement(SurveyElement element)
Description copied from interface: SurveyElementContainer
removes a survey-element from the container

Specified by:
removeElement in interface SurveyElementContainer
Parameters:
element - the survey-element to be removed

addElement

public void addElement(SurveyElement element)
Description copied from interface: SurveyElementContainer
Adds a survey-element to the container

Specified by:
addElement in interface SurveyElementContainer
Parameters:
element - the survey-element to be added

setElements

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

Specified by:
setElements in interface SurveyElementContainer
Parameters:
elements - collection of elements containing

getElements

public java.util.Collection getElements()
Description copied from interface: SurveyElementContainer
returns a collection of sub elements

Specified by:
getElements in interface SurveyElementContainer
Returns:
Collection of sub elements

getElementIterator

public java.util.Iterator getElementIterator()
Description copied from interface: SurveyElementContainer
Returns an iterator with all survey-elements of the container

Specified by:
getElementIterator in interface SurveyElementContainer
Returns:
the iterator with the survey elements


openFJORD Copyright © 2003 University of Muenster.