public class ContentsDeliveryBean extends Object implements Serializable
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 and Description |
|---|
ContentsDeliveryBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2005-2014 Sakai Project. All Rights Reserved.