org.telscenter.sail.webapp.domain.brainstorm.answer
Interface PreparedAnswer

All Superinterfaces:
Comparable<PreparedAnswer>, Persistable, Serializable
All Known Implementing Classes:
PreparedAnswerImpl

public interface PreparedAnswer
extends Persistable, Comparable<PreparedAnswer>

An author of the brainstorm can prepare canned responses. These responses will be added to the brainstorm as Answers when the brainstorm is set up for a run. This is so that when a student is first to post, he/she will be able to see these responses as opposed to nothing. These will actually be posted by the teacher of the run, but the name under which it will be posted can be set by the author of the brainstorm. PreparedAnswers themselves cannot be added

Version:
$Id:$
Author:
hirokiterashima

Method Summary
 String getBody()
          Gets the actual body of this revision in string format.
 String getDisplayname()
          Sets the name that this answer will be posted as.
 void setBody(String body)
          Sets the body of this revision in string format.
 void setDisplayname(String displayname)
          Sets the name that this answer will be posted as.
 
Methods inherited from interface net.sf.sail.webapp.domain.Persistable
getId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDisplayname

String getDisplayname()
Sets the name that this answer will be posted as.

Returns:
name

setDisplayname

void setDisplayname(String displayname)
Sets the name that this answer will be posted as.

Parameters:
name -

getBody

String getBody()
Gets the actual body of this revision in string format.

Returns:
body of this revision

setBody

void setBody(String body)
Sets the body of this revision in string format.

Parameters:
body -


Copyright © 2012. All Rights Reserved.