|
||||||||||
| 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.ContentsDeliveryBean
public class ContentsDeliveryBean
Table of Contents and Contents Data
This is a 'dual purpose' bean. It can serve as a representation of the entire (table of) contents for an assessment, or the contents presented in a praticular page view.
| Constructor Summary | |
|---|---|
ContentsDeliveryBean()
|
|
| Method Summary | |
|---|---|
float |
getCurrentScore()
Current score for entire contents. |
boolean |
getIsNoParts()
|
float |
getMaxScore()
Maximum score for entire contents. |
ArrayList |
getPartsContents()
List of parts (SectionContentsBean) for entire contents. |
String |
getPointsDisplayString()
If we display the current score, return it, otherwise an empty string. |
boolean |
isShowStudentScore()
Show the student score currently earned? |
void |
setCurrentScore(float currentScore)
Current score for entire contents |
void |
setMaxScore(float maxScore)
Maximum score for entire contents. |
void |
setPartsContents(ArrayList partsContents)
Set parts (SectionContentsBean) for entire contents |
void |
setShowStudentScore(boolean showStudentScore)
Set the student score currently earned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentsDeliveryBean()
| Method Detail |
|---|
public float getCurrentScore()
public void setCurrentScore(float currentScore)
currentScore - current score for entire contentspublic float getMaxScore()
public void setMaxScore(float maxScore)
maxScore - maximum score for entire contentspublic ArrayList getPartsContents()
public void setPartsContents(ArrayList partsContents)
partsContents - parts (SectionContentsBean) for entire contentspublic boolean isShowStudentScore()
public void setShowStudentScore(boolean showStudentScore)
showStudentScore - true/false Show the student score currently earned?public String getPointsDisplayString()
public boolean getIsNoParts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||