org.openfjord.business.domain
Interface Survey

All Known Implementing Classes:
SurveyVO

public interface Survey

The interface for a survey 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

Field Summary
static int COMPLETED
           
static int DESIGN
           
static int ONLINE
           
static int TEMPLATE
           
 
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 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
 

Field Detail

DESIGN

public static final int DESIGN
See Also:
Constant Field Values

ONLINE

public static final int ONLINE
See Also:
Constant Field Values

COMPLETED

public static final int COMPLETED
See Also:
Constant Field Values

TEMPLATE

public static final int TEMPLATE
See Also:
Constant Field Values
Method Detail

getStartTime

public java.util.Date getStartTime()
Gets the start-time of the survey

Returns:
the start-time

setStartTime

public void setStartTime(java.util.Date startTime)
Sets the start-time

Parameters:
startTime - the start-time

getStopTime

public java.util.Date getStopTime()
Gets the time the survey ends

Returns:
the stop-time

setStopTime

public void setStopTime(java.util.Date stopTime)
Sets the time the survey ends

Parameters:
stopTime - the stop-time

getMaxParticipants

public int getMaxParticipants()
Gets the maximum number of participants

Returns:
the maximum number of participants

setMaxParticipants

public void setMaxParticipants(int maxParticipant)
Sets the maximum number of participants

Parameters:
maxParticipant - the maximum number of participants

getName

public java.lang.String getName()
Gets the name of the Survey

Returns:
the name of the Survey

setName

public void setName(java.lang.String name)
Sets the name of the survey

Parameters:
name - the name of the survey

getAuthor

public java.lang.String getAuthor()
Gets the author of the Survey

Returns:
the author of the Survey

setAuthor

public void setAuthor(java.lang.String author)
Sets the author of the survey


getComment

public java.lang.String getComment()
Gets the comment given to the survey

Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Sets a comment to the survey

Parameters:
comment - the comment

getState

public int getState()
Gets the state of the survey

Returns:
the state

setState

public void setState(int state)
Sets the state of the survey

Parameters:
state - the state

getParticipants

public java.util.Collection getParticipants()
Gets the participants of the survey

Returns:
a collection of the participants

getRootParagraph

public Paragraph getRootParagraph()
Gets the root paragraph of the survey

Returns:
the root paragraph

getSurveyHeader

public SurveyHeader getSurveyHeader()
Gets the Header of the Survey

Returns:
the survey-header

setSurveyHeader

public void setSurveyHeader(SurveyHeader surveyHeader)
Sets the Header of the Survey

Parameters:
surveyHeader - the survey-header

getSurveyFooter

public SurveyFooter getSurveyFooter()
Gets the footer of the survey

Returns:
the survey-footer

setSurveyFooter

public void setSurveyFooter(SurveyFooter surveyFooter)
Sets the footer of the survey

Parameters:
surveyFooter - the survey-footer

getSurveyOwner

public SurveyOwner getSurveyOwner()
Gets the owner of the survey

Returns:
the owner

setSurveyOwner

public void setSurveyOwner(SurveyOwner owner)
Sets the owner of the survey

Parameters:
owner - the owner

getSurveyId

public java.lang.String getSurveyId()
Gets the ID of the survey

Returns:
the survey-ID


openFJORD Copyright © 2003 University of Muenster.