org.openfjord.business.entities.valueobjects
Class SurveyVO

java.lang.Object
  |
  +--org.openfjord.business.entities.valueobjects.SurveyVO
All Implemented Interfaces:
java.io.Serializable, Survey

public class SurveyVO
extends java.lang.Object
implements Survey, java.io.Serializable

Title: openFJORD

Description: open flexible online research designer

Copyright:

Company:

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

Field Summary
 
Fields inherited from interface org.openfjord.business.domain.Survey
COMPLETED, DESIGN, ONLINE, TEMPLATE
 
Constructor Summary
SurveyVO()
           
SurveyVO(java.lang.String surveyId)
           
 
Method Summary
 java.lang.String getAuthor()
          Gets the author of the Survey
 java.lang.String getComment()
          Gets the comment given to the survey
 int getMaxParticipants()
          Gets the maximum number of participants
 java.lang.String getName()
          Gets the name of the Survey
 java.util.Collection getParticipants()
          Gets the participants of the survey
 Paragraph getRootParagraph()
          Gets the root paragraph of the survey
 java.util.Date getStartTime()
          Gets the start-time of the survey
 int getState()
          Gets the state of the survey
 java.util.Date getStopTime()
          Gets the time the survey ends
 SurveyFooter getSurveyFooter()
          Gets the footer of the survey
 SurveyHeader getSurveyHeader()
          Gets the Header of the Survey
 java.lang.String getSurveyId()
          Gets the ID of the survey
 SurveyOwner getSurveyOwner()
          Gets the owner of the survey
 void setAuthor(java.lang.String author)
          Sets the author of the survey
 void setComment(java.lang.String comment)
          Sets a comment to the survey
 void setMaxParticipants(int maxParticipant)
          Sets the maximum number of participants
 void setName(java.lang.String name)
          Sets the name of the survey
 void setRootParagraph(Paragraph rootParagraph)
           
 void setStartTime(java.util.Date startTime)
          Sets the start-time
 void setState(int state)
          Sets the state of the survey
 void setStopTime(java.util.Date stopTime)
          Sets the time the survey ends
 void setSurveyFooter(SurveyFooter surveyFooter)
          Sets the footer of the survey
 void setSurveyHeader(SurveyHeader surveyHeader)
          Sets the Header of the Survey
 void setSurveyOwner(SurveyOwner owner)
          Sets the owner of the survey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveyVO

public SurveyVO(java.lang.String surveyId)

SurveyVO

public SurveyVO()
Method Detail

getStartTime

public java.util.Date getStartTime()
Description copied from interface: Survey
Gets the start-time of the survey

Specified by:
getStartTime in interface Survey
Returns:
the start-time

setStartTime

public void setStartTime(java.util.Date startTime)
Description copied from interface: Survey
Sets the start-time

Specified by:
setStartTime in interface Survey
Parameters:
startTime - the start-time

getStopTime

public java.util.Date getStopTime()
Description copied from interface: Survey
Gets the time the survey ends

Specified by:
getStopTime in interface Survey
Returns:
the stop-time

setStopTime

public void setStopTime(java.util.Date stopTime)
Description copied from interface: Survey
Sets the time the survey ends

Specified by:
setStopTime in interface Survey
Parameters:
stopTime - the stop-time

getMaxParticipants

public int getMaxParticipants()
Description copied from interface: Survey
Gets the maximum number of participants

Specified by:
getMaxParticipants in interface Survey
Returns:
the maximum number of participants

setMaxParticipants

public void setMaxParticipants(int maxParticipant)
Description copied from interface: Survey
Sets the maximum number of participants

Specified by:
setMaxParticipants in interface Survey
Parameters:
maxParticipant - the maximum number of participants

getName

public java.lang.String getName()
Description copied from interface: Survey
Gets the name of the Survey

Specified by:
getName in interface Survey
Returns:
the name of the Survey

setName

public void setName(java.lang.String name)
Description copied from interface: Survey
Sets the name of the survey

Specified by:
setName in interface Survey
Parameters:
name - the name of the survey

getAuthor

public java.lang.String getAuthor()
Description copied from interface: Survey
Gets the author of the Survey

Specified by:
getAuthor in interface Survey
Returns:
the author of the Survey

setAuthor

public void setAuthor(java.lang.String author)
Description copied from interface: Survey
Sets the author of the survey

Specified by:
setAuthor in interface Survey

getComment

public java.lang.String getComment()
Description copied from interface: Survey
Gets the comment given to the survey

Specified by:
getComment in interface Survey
Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Description copied from interface: Survey
Sets a comment to the survey

Specified by:
setComment in interface Survey
Parameters:
comment - the comment

getState

public int getState()
Description copied from interface: Survey
Gets the state of the survey

Specified by:
getState in interface Survey
Returns:
the state

setState

public void setState(int state)
Description copied from interface: Survey
Sets the state of the survey

Specified by:
setState in interface Survey
Parameters:
state - the state

getParticipants

public java.util.Collection getParticipants()
Description copied from interface: Survey
Gets the participants of the survey

Specified by:
getParticipants in interface Survey
Returns:
a collection of the participants

getRootParagraph

public Paragraph getRootParagraph()
Description copied from interface: Survey
Gets the root paragraph of the survey

Specified by:
getRootParagraph in interface Survey
Returns:
the root paragraph

setRootParagraph

public void setRootParagraph(Paragraph rootParagraph)

getSurveyHeader

public SurveyHeader getSurveyHeader()
Description copied from interface: Survey
Gets the Header of the Survey

Specified by:
getSurveyHeader in interface Survey
Returns:
the survey-header

setSurveyHeader

public void setSurveyHeader(SurveyHeader surveyHeader)
Description copied from interface: Survey
Sets the Header of the Survey

Specified by:
setSurveyHeader in interface Survey
Parameters:
surveyHeader - the survey-header

getSurveyFooter

public SurveyFooter getSurveyFooter()
Description copied from interface: Survey
Gets the footer of the survey

Specified by:
getSurveyFooter in interface Survey
Returns:
the survey-footer

setSurveyFooter

public void setSurveyFooter(SurveyFooter surveyFooter)
Description copied from interface: Survey
Sets the footer of the survey

Specified by:
setSurveyFooter in interface Survey
Parameters:
surveyFooter - the survey-footer

getSurveyOwner

public SurveyOwner getSurveyOwner()
Description copied from interface: Survey
Gets the owner of the survey

Specified by:
getSurveyOwner in interface Survey
Returns:
the owner

setSurveyOwner

public void setSurveyOwner(SurveyOwner owner)
Description copied from interface: Survey
Sets the owner of the survey

Specified by:
setSurveyOwner in interface Survey
Parameters:
owner - the owner

getSurveyId

public java.lang.String getSurveyId()
Description copied from interface: Survey
Gets the ID of the survey

Specified by:
getSurveyId in interface Survey
Returns:
the survey-ID


openFJORD Copyright © 2003 University of Muenster.