|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.ui.bean.delivery.SectionContentsBean
public class SectionContentsBean
This bean represents a Part in an assessment
| Constructor Summary | |
|---|---|
SectionContentsBean()
|
|
SectionContentsBean(SectionDataIfc section)
|
|
| Method Summary | |
|---|---|
List |
getAttachmentList()
|
String |
getDescription()
|
boolean |
getHasAttachment()
|
ArrayList |
getItemContents()
Contents of part. |
ArrayList |
getItemContentsForRandomDraw()
|
ArrayList |
getItemContentsForRandomQuestionOrdering()
|
String |
getItemContentsSize()
Get the size of the contents |
float |
getMaxPoints()
Total points the part is worth. |
String |
getNonDefaultText()
|
boolean |
getNoQuestions()
|
String |
getNumber()
Display part number. |
int |
getNumbering()
Total number of questions to list, based on numbering scheme |
Integer |
getNumberToBeDrawn()
|
String |
getNumberToBeDrawnString()
|
String |
getNumParts()
|
float |
getPoints()
Points earned thus far for part. |
String |
getPointsDisplayString()
If we display the score, return it, followed by a slash. |
Long |
getPoolIdToBeDrawn()
|
String |
getPoolIdToBeDrawnString()
|
String |
getPoolNameToBeDrawn()
|
ArrayList |
getQuestionNumbers()
|
Integer |
getQuestionOrdering()
|
String |
getQuestionOrderingString()
|
int |
getQuestions()
Total number of questions. |
String |
getRandomQuestionsDrawDate()
|
String |
getRandomQuestionsDrawTime()
|
float |
getRoundedMaxPoints()
|
Integer |
getSectionAuthorType()
|
String |
getSectionAuthorTypeString()
|
String |
getSectionId()
|
String |
getText()
Part description. |
String |
getTitle()
|
int |
getUnansweredQuestions()
Number unanswered. |
boolean |
isShowStudentQuestionScore()
Show the student score currently earned? |
static float |
roundTo2Decimals(float points)
|
void |
setAttachmentList(List attachmentList)
|
void |
setDescription(String newDesc)
|
void |
setItemContents(ArrayList itemContents)
Contents of part. |
void |
setItemContentsSize(String dummy)
Set the size of the contents |
void |
setMaxPoints(float maxPoints)
Total points the part is worth. |
void |
setMetaData(SectionDataIfc section)
|
void |
setNoQuestions(boolean noQuestions)
|
void |
setNumber(String number)
Display part number. |
void |
setNumbering(int newNumbering)
Total number of questions to list, based on numbering scheme |
void |
setNumberToBeDrawn(Integer param)
|
void |
setNumParts(String newNum)
|
void |
setPoints(float points)
Points earned thus far for part. |
void |
setPoolIdToBeDrawn(Long param)
|
void |
setPoolNameToBeDrawn(String param)
|
void |
setQuestionNumbers()
|
void |
setQuestionOrdering(Integer param)
|
void |
setQuestions(int questions)
Total number of questions. |
void |
setRandomQuestionsDrawDate(String randomQuestionsDrawDate)
|
void |
setRandomQuestionsDrawTime(String randomQuestionsDrawTime)
|
void |
setSectionAuthorType(Integer param)
|
void |
setSectionId(String sectionId)
Part description. |
void |
setShowStudentQuestionScore(boolean showStudentQuestionScore)
Set the student score currently earned. |
void |
setText(String text)
Part description. |
void |
setTitle(String title)
|
void |
setUnansweredQuestions(int unansweredQuestions)
Number unanswered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SectionContentsBean()
public SectionContentsBean(SectionDataIfc section)
| Method Detail |
|---|
public String getText()
public String getNonDefaultText()
public void setText(String text)
text - Part description.public float getPoints()
public void setPoints(float points)
points - public int getUnansweredQuestions()
public void setUnansweredQuestions(int unansweredQuestions)
unansweredQuestions - public float getMaxPoints()
public float getRoundedMaxPoints()
public void setMaxPoints(float maxPoints)
maxPoints - points the part is worth.public int getQuestions()
public void setQuestions(int questions)
questions - number of questionspublic int getNumbering()
public void setNumbering(int newNumbering)
questions - number of questionspublic ArrayList getItemContents()
public ArrayList getItemContentsForRandomDraw()
public ArrayList getItemContentsForRandomQuestionOrdering()
public void setItemContents(ArrayList itemContents)
itemContents - item contents of part.public String getItemContentsSize()
public void setItemContentsSize(String dummy)
public String getNumber()
public void setNumber(String number)
number - display numberingpublic String getTitle()
public void setTitle(String title)
public ArrayList getQuestionNumbers()
public void setQuestionNumbers()
public void setMetaData(SectionDataIfc section)
public String getSectionId()
public void setSectionId(String sectionId)
text - Part description.public String getNumParts()
public void setNumParts(String newNum)
public String getDescription()
public void setDescription(String newDesc)
public Integer getSectionAuthorType()
public String getSectionAuthorTypeString()
public void setSectionAuthorType(Integer param)
public Integer getQuestionOrdering()
public String getQuestionOrderingString()
public void setQuestionOrdering(Integer param)
public Integer getNumberToBeDrawn()
public String getNumberToBeDrawnString()
public void setNumberToBeDrawn(Integer param)
public Long getPoolIdToBeDrawn()
public String getPoolIdToBeDrawnString()
public void setPoolIdToBeDrawn(Long param)
public void setPoolNameToBeDrawn(String param)
public String getPoolNameToBeDrawn()
public boolean isShowStudentQuestionScore()
public void setShowStudentQuestionScore(boolean showStudentQuestionScore)
setShowStudentQuestionScore - true/false Show the student score currently earned?public String getPointsDisplayString()
public static float roundTo2Decimals(float points)
public List getAttachmentList()
public void setAttachmentList(List attachmentList)
public boolean getHasAttachment()
public boolean getNoQuestions()
public void setNoQuestions(boolean noQuestions)
public String getRandomQuestionsDrawDate()
public void setRandomQuestionsDrawDate(String randomQuestionsDrawDate)
public String getRandomQuestionsDrawTime()
public void setRandomQuestionsDrawTime(String randomQuestionsDrawTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||