| java.lang.Object org.sakaiproject.tool.assessment.ui.bean.delivery.ContentsDeliveryBean
ContentsDeliveryBean | public class ContentsDeliveryBean implements Serializable(Code) | | 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.
|
getCurrentScore | public float getCurrentScore()(Code) | | Current score for entire contents.
current score for entire contents |
getMaxScore | public float getMaxScore()(Code) | | Maximum score for entire contents.
maximum score for entire contents |
getPartsContents | public java.util.ArrayList getPartsContents()(Code) | | List of parts (SectionContentsBeans) for entire contents.
parts for entire contents |
getPointsDisplayString | public String getPointsDisplayString()(Code) | | If we display the current score, return it, otherwise an empty string.
Not currently used, provided if we need it later.
either, a) the current score, otherwise, b) "" (empty string) |
isShowStudentScore | public boolean isShowStudentScore()(Code) | | Show the student score currently earned?
the score |
setCurrentScore | public void setCurrentScore(float currentScore)(Code) | | Current score for entire contents
Parameters: currentScore - current score for entire contents |
setMaxScore | public void setMaxScore(float maxScore)(Code) | | Maximum score for entire contents.
Parameters: maxScore - maximum score for entire contents |
setPartsContents | public void setPartsContents(java.util.ArrayList partsContents)(Code) | | Set parts (SectionContentsBeans) for entire contents
Parameters: partsContents - parts (SectionContentsBeans) for entire contents |
setShowStudentScore | public void setShowStudentScore(boolean showStudentScore)(Code) | | Set the student score currently earned.
Parameters: showStudentScore - true/false Show the student score currently earned? |
|
|