org.sakaiproject.tool.assessment.ui.bean.evaluation
Class HistogramScoresBean

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.bean.evaluation.HistogramScoresBean
All Implemented Interfaces:
Serializable

public class HistogramScoresBean
extends Object
implements Serializable

JSF bean for displaying the Histogram page.

See Also:
Serialized Form

Constructor Summary
HistogramScoresBean()
          Creates a new HistogramScoresBean object.
 
Method Summary
 void addToLowerQuartileStudents(String agentId)
           
 void addToUpperQuartileStudents(String agentId)
           
 void clearLowerQuartileStudents()
           
 void clearUpperQuartileStudents()
           
 String getAdjustedScore()
          ge the adjusted score
 String getAgent()
          get the agent
 String getAllSubmissions()
          all submissions
 int getArrayLength()
          set the agent
 int getAssesmentPartCount()
           
 List<PublishedSectionData> getAssesmentParts()
           
 String getAssessmentId()
          assessment id
 String getAssessmentName()
          assessment name
 int[] getColumnHeight()
          height of bars, if running vertically, width if horizonatl
 Collection getDetailedStatistics()
           
 String getGroupName()
          group name
 String getHasNav()
          hasNav
 HistogramBarBean[] getHistogramBars()
          HistogramBar arrray
 HistogramQuestionScoresBean[] getHistogramQuestions()
          get histogram quesions
 Collection<HistogramQuestionScoresBean> getInfo()
          the a collection of information
 int getInterval()
          get the interval
 String getItemId()
          Get item id for QuestionScores.
 String getLowerQuartile()
          get the lower quartile
 Map getLowerQuartileStudents()
           
 int getMaxNumberOfAnswers()
           
 String getMaxScore()
          get the maximum score
 String getMean()
          get the mean
 String getMedian()
          get the median
 String getMode()
          get the mode
 int getNumberOfLowerQuartileStudents()
           
 int getNumberOfUpperQuartileStudents()
           
 int getNumResponses()
          number of responses
 int[] getNumStudentCollection()
          number of students for bars
 Collection<HistogramQuestionScoresBean> getPartInfo()
          the a collection of information for the active part
 String getPartNumber()
          get the part number
 String getPublishedId()
          get published id
 String getQ1()
          get the first quartile
 String getQ2()
          get the second quartile
 String getQ3()
          get teh third quartile
 String getQ4()
          get the fourth quartile
 String getQuestionNumber()
          get the question number
 boolean getRandomType()
           
 String getRange()
          get the range
 String[] getRangeCollection()
          range info for bars
 String getRoundedTotalPossibleScore()
           
 List<javax.faces.model.SelectItem> getSelectItemParts()
           
 boolean getShowDiscriminationColumn()
           
 boolean getShowPartAndTotalScoreSpreadsheetColumns()
           
 String getStandDev()
          get the standard deviation
 String getTotalPossibleScore()
          get the total possible score
 String getTotalScore()
          get the total score
 String getUndisplayedStudentResponseInItemAnalysisColumnHeader()
           
 String getUpperQuartile()
          get the upper quartile
 Map getUpperQuartileStudents()
           
 boolean isLowerQuartileStudent(String agentId)
           
 boolean isUpperQuartileStudent(String agentId)
           
 void setAdjustedScore(String padjustedScore)
          set the adjusted score
 void setAgent(String pagent)
          number of responses
 void setAllSubmissions(String pallSubmissions)
          all submissions
 void setArrayLength(int parrayLength)
          set the array lenght
 void setAssesmentParts(List<PublishedSectionData> assesmentParts)
           
 void setAssessmentId(String passessmentId)
          assessment id
 void setAssessmentName(String passessmentName)
          assessment name
 void setColumnHeight(int[] pcolumnHeight)
          height of bars
 void setDetailedStatistics(Collection detailedStatistics)
           
 void setGroupName(String pgroupName)
          group name
 void setHasNav(String phasNav)
          hasNav
 void setHistogramBars(HistogramBarBean[] bars)
          HistogramBar arrray
 void setHistogramQuestions(HistogramQuestionScoresBean[] phistogramQuestions)
          set histogram questions name
 void setInfo(Collection<HistogramQuestionScoresBean> pinfo)
          set the info
 void setInterval(int pinterval)
          set the interval
 void setItemId(String newId)
          Set item id for QuestionScores.
 void setLowerQuartile(String plowerQuartile)
          lower quartile
 void setMaxNumberOfAnswers(int maxNumberOfAnswers)
           
 void setMaxScore(String pmaxScore)
          set the maximum score
 void setMean(String pmean)
          set the mean
 void setMedian(String pmedian)
          set the median
 void setMode(String pmode)
          set the mode
 void setNumResponses(int pnumResponses)
          number of responses
 void setNumStudentCollection(int[] pnumStudent)
          number of students for bars
 void setPartNumber(String ppartNumber)
          set the part number
 void setPublishedId(String ppublishedId)
          set published id
 void setQ1(String pq1)
          set the first quartile
 void setQ2(String pq2)
          set the second quartile
 void setQ3(String pq3)
          set the third quartile
 void setQ4(String pq4)
          set the fourth quartile
 void setQuestionNumber(String pquestionNumber)
          set the question number
 void setRandomType(boolean param)
           
 void setRange(String prange)
          set the range
 void setRangeCollection(String[] prange)
          range info for bars
 void setStandDev(String pstandDev)
          the standard deviation
 void setTotalPossibleScore(String ptotalScore)
          set the total possible score
 void setTotalScore(String ptotalScore)
          set the total score
 void setUpperQuartile(String pupperQuartile)
          set the upper quartile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramScoresBean

public HistogramScoresBean()
Creates a new HistogramScoresBean object.

Method Detail

setAgent

public void setAgent(String pagent)
number of responses

Parameters:
pagent - number of responses

getAgent

public String getAgent()
get the agent

Returns:
agent

getAssessmentName

public String getAssessmentName()
assessment name

Returns:
assessment name

setAssessmentName

public void setAssessmentName(String passessmentName)
assessment name

Parameters:
passessmentName - assessment name

getHistogramQuestions

public HistogramQuestionScoresBean[] getHistogramQuestions()
get histogram quesions

Returns:
the histogram quesions beans in an array

setHistogramQuestions

public void setHistogramQuestions(HistogramQuestionScoresBean[] phistogramQuestions)
set histogram questions name

Parameters:
phistogramQuestions - HistogramQuestionScoresBean[]

getAssessmentId

public String getAssessmentId()
assessment id

Returns:
assessment id

setAssessmentId

public void setAssessmentId(String passessmentId)
assessment id

Parameters:
passessmentId - assessment id

getPublishedId

public String getPublishedId()
get published id

Returns:
the published id

setPublishedId

public void setPublishedId(String ppublishedId)
set published id

Parameters:
passessmentId - the id

getItemId

public String getItemId()
Get item id for QuestionScores.


setItemId

public void setItemId(String newId)
Set item id for QuestionScores.


getGroupName

public String getGroupName()
group name

Returns:
group name

setGroupName

public void setGroupName(String pgroupName)
group name

Parameters:
pgroupName - group name

getHasNav

public String getHasNav()
hasNav

Returns:
hasNav

setHasNav

public void setHasNav(String phasNav)
hasNav

Parameters:
hasNav -

getRandomType

public boolean getRandomType()

setRandomType

public void setRandomType(boolean param)

getAllSubmissions

public String getAllSubmissions()
all submissions

Returns:
all submissions

setAllSubmissions

public void setAllSubmissions(String pallSubmissions)
all submissions

Parameters:
pallSubmissions - all submissions

getRangeCollection

public String[] getRangeCollection()
range info for bars

Returns:
range info for bars

setRangeCollection

public void setRangeCollection(String[] prange)
range info for bars

Parameters:
prange - range info for bars

getNumStudentCollection

public int[] getNumStudentCollection()
number of students for bars

Returns:
number of students for bars

setNumStudentCollection

public void setNumStudentCollection(int[] pnumStudent)
number of students for bars

Parameters:
pnumStudent - number of students for bars

getColumnHeight

public int[] getColumnHeight()
height of bars, if running vertically, width if horizonatl

Returns:
height of bars

setColumnHeight

public void setColumnHeight(int[] pcolumnHeight)
height of bars

Parameters:
pcolumnHeight - height of bars

getArrayLength

public int getArrayLength()
set the agent

Returns:
agent

setArrayLength

public void setArrayLength(int parrayLength)
set the array lenght

Parameters:
parrayLength - the lenght

getInterval

public int getInterval()
get the interval

Returns:
the interval

setInterval

public void setInterval(int pinterval)
set the interval

Parameters:
pinterval - the interval

getInfo

public Collection<HistogramQuestionScoresBean> getInfo()
the a collection of information

Returns:
the info collection

setInfo

public void setInfo(Collection<HistogramQuestionScoresBean> pinfo)
set the info

Parameters:
pinfo - the info

getPartInfo

public Collection<HistogramQuestionScoresBean> getPartInfo()
the a collection of information for the active part

Returns:
the part info collection

getMaxScore

public String getMaxScore()
get the maximum score

Returns:
the score

setMaxScore

public void setMaxScore(String pmaxScore)
set the maximum score

Parameters:
pmaxScore - the max score

getTotalScore

public String getTotalScore()
get the total score

Returns:
the total score

setTotalScore

public void setTotalScore(String ptotalScore)
set the total score

Parameters:
ptotalScore - the total score

getTotalPossibleScore

public String getTotalPossibleScore()
get the total possible score

Returns:
the total possible score

getRoundedTotalPossibleScore

public String getRoundedTotalPossibleScore()

setTotalPossibleScore

public void setTotalPossibleScore(String ptotalScore)
set the total possible score

Parameters:
ptotalScore - the total possible score

getAdjustedScore

public String getAdjustedScore()
ge the adjusted score

Returns:
the adjusted socre

setAdjustedScore

public void setAdjustedScore(String padjustedScore)
set the adjusted score

Parameters:
padjustedScore - the adjusted score

getQuestionNumber

public String getQuestionNumber()
get the question number

Returns:
the question number

setQuestionNumber

public void setQuestionNumber(String pquestionNumber)
set the question number

Parameters:
pquestionNumber - the question number

getPartNumber

public String getPartNumber()
get the part number

Returns:
the part number

setPartNumber

public void setPartNumber(String ppartNumber)
set the part number

Parameters:
ppartNumber - the part number

getMean

public String getMean()
get the mean

Returns:
the mean

setMean

public void setMean(String pmean)
set the mean

Parameters:
pmean - the mean

getMedian

public String getMedian()
get the median

Returns:
the median

setMedian

public void setMedian(String pmedian)
set the median

Parameters:
pmedian - the median

getMode

public String getMode()
get the mode

Returns:
the mode

setMode

public void setMode(String pmode)
set the mode

Parameters:
pmode - the mode

getStandDev

public String getStandDev()
get the standard deviation

Returns:
the standard deviation

setStandDev

public void setStandDev(String pstandDev)
the standard deviation

Parameters:
pstandDev - the standard deviation

getLowerQuartile

public String getLowerQuartile()
get the lower quartile

Returns:
lower quartile

setLowerQuartile

public void setLowerQuartile(String plowerQuartile)
lower quartile

Parameters:
plowerQuartile - lower quartile

getUpperQuartile

public String getUpperQuartile()
get the upper quartile

Returns:
upper quartile

setUpperQuartile

public void setUpperQuartile(String pupperQuartile)
set the upper quartile

Parameters:
pupperQuartile - the upper quartile

getQ1

public String getQ1()
get the first quartile

Returns:
the first quartile

setQ1

public void setQ1(String pq1)
set the first quartile

Parameters:
pq1 - the first quartile

getQ2

public String getQ2()
get the second quartile

Returns:
the second quartile

setQ2

public void setQ2(String pq2)
set the second quartile

Parameters:
pq2 - the second quartile

getQ3

public String getQ3()
get teh third quartile

Returns:
the third quartile

setQ3

public void setQ3(String pq3)
set the third quartile

Parameters:
pq3 - the third quartile

getQ4

public String getQ4()
get the fourth quartile

Returns:
the fourth quartile

setQ4

public void setQ4(String pq4)
set the fourth quartile

Parameters:
pq4 - the fourth quartile

getRange

public String getRange()
get the range

Returns:
range

setRange

public void setRange(String prange)
set the range

Parameters:
prange - range

getNumResponses

public int getNumResponses()
number of responses

Returns:
number of responses

setNumResponses

public void setNumResponses(int pnumResponses)
number of responses

Parameters:
pnumResponses - number of responses

getHistogramBars

public HistogramBarBean[] getHistogramBars()
HistogramBar arrray

Returns:
HistogramBar arrray

setHistogramBars

public void setHistogramBars(HistogramBarBean[] bars)
HistogramBar arrray

Parameters:
bars - HistogramBar arrray

addToUpperQuartileStudents

public void addToUpperQuartileStudents(String agentId)

isUpperQuartileStudent

public boolean isUpperQuartileStudent(String agentId)

getUpperQuartileStudents

public Map getUpperQuartileStudents()

getNumberOfUpperQuartileStudents

public int getNumberOfUpperQuartileStudents()

addToLowerQuartileStudents

public void addToLowerQuartileStudents(String agentId)

isLowerQuartileStudent

public boolean isLowerQuartileStudent(String agentId)

getLowerQuartileStudents

public Map getLowerQuartileStudents()

getNumberOfLowerQuartileStudents

public int getNumberOfLowerQuartileStudents()

clearUpperQuartileStudents

public void clearUpperQuartileStudents()

clearLowerQuartileStudents

public void clearLowerQuartileStudents()

getMaxNumberOfAnswers

public int getMaxNumberOfAnswers()

setMaxNumberOfAnswers

public void setMaxNumberOfAnswers(int maxNumberOfAnswers)

getDetailedStatistics

public Collection getDetailedStatistics()

setDetailedStatistics

public void setDetailedStatistics(Collection detailedStatistics)

getShowDiscriminationColumn

public boolean getShowDiscriminationColumn()

getShowPartAndTotalScoreSpreadsheetColumns

public boolean getShowPartAndTotalScoreSpreadsheetColumns()

getUndisplayedStudentResponseInItemAnalysisColumnHeader

public String getUndisplayedStudentResponseInItemAnalysisColumnHeader()

getAssesmentParts

public List<PublishedSectionData> getAssesmentParts()
Returns:
the assesmentParts

setAssesmentParts

public void setAssesmentParts(List<PublishedSectionData> assesmentParts)
Parameters:
assesmentParts - the assesmentParts to set

getSelectItemParts

public List<javax.faces.model.SelectItem> getSelectItemParts()

getAssesmentPartCount

public int getAssesmentPartCount()


Copyright © 2005-2012 Sakai Project. All Rights Reserved.