com.stratelia.webactiv.util.answer.model
Class Answer
java.lang.Object
com.stratelia.webactiv.util.answer.model.Answer
- All Implemented Interfaces:
- Serializable
public class Answer
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Constructor Summary |
Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
int nbPoints,
boolean isSolution,
String comment,
int nbVoters,
boolean isOpened,
String image,
String questionLink)
|
Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
int nbPointsPos,
int nbPointsNeg,
boolean isSolution,
String comment,
int nbVoters,
boolean isOpened,
String image)
|
Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
String comment,
int nbVoters,
boolean isOpened,
String image,
String questionLink)
|
Answer
public Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
int nbPointsPos,
int nbPointsNeg,
boolean isSolution,
String comment,
int nbVoters,
boolean isOpened,
String image)
Answer
public Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
int nbPoints,
boolean isSolution,
String comment,
int nbVoters,
boolean isOpened,
String image,
String questionLink)
Answer
public Answer(AnswerPK pk,
ForeignPK questionPK,
String label,
String comment,
int nbVoters,
boolean isOpened,
String image,
String questionLink)
setPK
public void setPK(AnswerPK pk)
setQuestionPK
public void setQuestionPK(ForeignPK questionPK)
setLabel
public void setLabel(String label)
setNbVoters
public void setNbVoters(int nbVoters)
setNbPoints
public void setNbPoints(int nbPoints)
setIsSolution
public void setIsSolution(boolean isSolution)
setComment
public void setComment(String comment)
setIsOpened
public void setIsOpened(boolean isOpened)
setImage
public void setImage(String image)
setQuestionLink
public void setQuestionLink(String questionLink)
getPK
public AnswerPK getPK()
getQuestionPK
public ForeignPK getQuestionPK()
getLabel
public String getLabel()
getNbVoters
public int getNbVoters()
getNbPoints
public int getNbPoints()
isSolution
public boolean isSolution()
getComment
public String getComment()
isOpened
public boolean isOpened()
getImage
public String getImage()
getQuestionLink
public String getQuestionLink()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2016 Silverpeas. All Rights Reserved.