|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openfjord.business.entities.valueobjects.SurveyElementVO | +--org.openfjord.business.entities.valueobjects.SurveyElementContainerVO
value object for SurveyElementContainer
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 |
public SurveyElementContainerVO(java.lang.String id)
public SurveyElementContainerVO()
Method Detail |
public void removeElement(SurveyElement element)
SurveyElementContainer
removeElement
in interface SurveyElementContainer
element
- the survey-element to be removedpublic void addElement(SurveyElement element)
SurveyElementContainer
addElement
in interface SurveyElementContainer
element
- the survey-element to be addedpublic void setElements(java.util.Collection elements)
SurveyElementContainer
setElements
in interface SurveyElementContainer
elements
- collection of elements containingpublic java.util.Collection getElements()
SurveyElementContainer
getElements
in interface SurveyElementContainer
public java.util.Iterator getElementIterator()
SurveyElementContainer
getElementIterator
in interface SurveyElementContainer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |