|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.questionnaire.bean
Interface Answer

- All Superinterfaces:
- com.RuntimeCollective.webapps.bean.EntityBean, java.io.Serializable
- All Known Implementing Classes:
- SimpleAnswer
- public interface Answer
- extends com.RuntimeCollective.webapps.bean.EntityBean
Interface to implement if you want to create a new kind of Answer for Questionnaires.
- Version:
- $Id: Answer.java,v 1.4 2003/09/30 15:12:53 joe Exp $
| Field Summary |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
DATABASE_TABLE, INTERFACE_BEAN, NULL_ID |
| Method Summary | |
void |
delete()
Delete this bean from the database. |
Question |
getAnsweredQuestion()
Get the AnsweredQuestion of this Answer |
java.lang.Object |
getAnswerGiven()
Get the AnswerGiven of this Answer |
int |
getId()
Get the unique id of this bean instance. |
UserAnswers |
getUserAnswers()
Get the UserAnswers of this Answer |
void |
save()
Save this bean to the database. |
void |
setAnsweredQuestion(Question answeredQuestion)
Set the AnsweredQuestion of this Answer |
void |
setAnswerGiven(java.lang.Object answerGiven)
Set the AnswerGiven of this Answer |
void |
setId(int id)
Set the unique id of this bean instance. |
void |
setUserAnswers(UserAnswers userAnswers)
Set the UserAnswers of this Answer |
| Method Detail |
getId
public int getId()
- Get the unique id of this bean instance.
- Specified by:
getIdin interfacecom.RuntimeCollective.webapps.bean.EntityBean
setId
public void setId(int id)
- Set the unique id of this bean instance.
- Specified by:
setIdin interfacecom.RuntimeCollective.webapps.bean.EntityBean
save
public void save()
- Save this bean to the database.
- Specified by:
savein interfacecom.RuntimeCollective.webapps.bean.EntityBean
delete
public void delete()
- Delete this bean from the database.
- Specified by:
deletein interfacecom.RuntimeCollective.webapps.bean.EntityBean
setUserAnswers
public void setUserAnswers(UserAnswers userAnswers)
- Set the UserAnswers of this Answer
getUserAnswers
public UserAnswers getUserAnswers()
- Get the UserAnswers of this Answer
setAnsweredQuestion
public void setAnsweredQuestion(Question answeredQuestion)
- Set the AnsweredQuestion of this Answer
getAnsweredQuestion
public Question getAnsweredQuestion()
- Get the AnsweredQuestion of this Answer
setAnswerGiven
public void setAnswerGiven(java.lang.Object answerGiven) throws com.RuntimeCollective.questionnaire.InvalidAnswerException
- Set the AnswerGiven of this Answer
getAnswerGiven
public java.lang.Object getAnswerGiven()
- Get the AnswerGiven of this Answer
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC