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

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

public class HistogramQuestionScoresBean
extends Object
implements Serializable

Title: sakaiproject.org

Description: AAM - form class for edit/access.jsp

Copyright: Copyright (c) 2003

Used to be org.navigoproject.ui.web.form.evaluation.HistogramQuestionScoresForm.java

Version:
1.0
Author:
Huong Nguyen
See Also:
Serialized Form

Constructor Summary
HistogramQuestionScoresBean()
          Creates a new HistogramQuestionScoresBean object.
 
Method Summary
 void addStudentResponded(String agentId)
           
 void addStudentWithAllCorrect(String agentId)
           
 void clearStudentsResponded()
           
 void clearStudentsWithAllCorrect()
           
 String getAdjustedScore()
          get the adjusted score
 String getAgent()
          get the agent
 boolean getAllSubmissions()
          all submissions
 int getArrayLength()
          get the number of bars
 String getAssessmentId()
          get the assessment id
 String getAssessmentName()
          get the assessment name
 int[] getColumnHeight()
          get column height, or width if horizontal
 String getCorrectAnswer()
          get correct answer
 boolean getDetailedStats()
          Do we show detailed statistics for this question
 String getDiscrimination()
           
 String getGroupName()
          get the group name
 HistogramBarBean[] getHistogramBars()
          HistogramBar arrray
 Collection getInfo()
          get info
 int getInterval()
          get the interval
 Long getItemId()
           
 String getLowerQuartile()
          get the lower quartile
 String getMaxScore()
          set the maximum score
 String getMean()
          get mean
 String getMedian()
          get median
 String getMode()
          get mode
 String getN()
           
 int getNumberOfParts()
           
 int getNumberOfStudentsWithZeroAnswers()
           
 int getNumResponses()
          get the number of responses
 int[] getNumStudentCollection()
          get the number of students for each bar
 String getPartNumber()
          get the part number
 String getPercentCorrect()
          get the percent correct
 String getPercentCorrectFromLowerQuartileStudents()
           
 String getPercentCorrectFromUpperQuartileStudents()
           
 String getPoolName()
          get the pool name
 String getQ1()
          get the first quartile
 String getQ2()
          get the second quartile
 String getQ3()
          get the third quartile
 String getQ4()
          get the fourth quartile
 String getQuestionLabel()
           
 String getQuestionNumber()
          get the question number
 String getQuestionText()
          get the question text
 String getQuestionType()
          get the question type
 boolean getRandomType()
           
 String getRange()
          get range
 String[] getRangeCollection()
          get the range collection
 boolean getShowPercentageCorrectAndDiscriminationFigures()
           
 String getStandDev()
          get the standard deviation
 String getStudentResponsesInUndisplayedItemAnalysisColumns()
           
 Set getStudentsResponded()
           
 Set getStudentsWithAllCorrect()
           
 int getSumOfStudentResponsesInUndisplayedItemAnalysisColumns()
           
 String getTitle()
          get the question title
 int getTotalResponses()
          get the total number of responses
 String getTotalScore()
          get the total score
 String getUpperQuartile()
          get the upper quartile
 void setAdjustedScore(String padjustedScore)
          set the adjusted score
 void setAgent(String pagent)
          set the agent
 void setAllSubmissions(boolean pallSubmissions)
          all submissions
 void setArrayLength(int parrayLength)
          set the number of bars
 void setAssessmentId(String passessmentId)
          set the assessment id
 void setAssessmentName(String passessmentName)
          set the assessment name
 void setColumnHeight(int[] pcolumnHeight)
          set the column heigh array
 void setCorrectAnswer(String pcorrectAnswer)
          set correct answer
 void setDetailedStats(boolean ignored)
           
 void setDiscrimination(String discrimination)
           
 void setGroupName(String pgroupName)
          set the group name
 void setHistogramBars(HistogramBarBean[] bars)
          HistogramBar array
 void setInfo(Collection pinfo)
          set info
 void setInterval(int pinterval)
          set the interval
 void setItemId(Long itemId)
           
 void setLowerQuartile(String plowerQuartile)
          set the lower quartile
 void setMaxScore(String pmaxScore)
          set the maximum score
 void setMean(String pmean)
          set mean
 void setMedian(String pmedian)
          set median
 void setMode(String pmode)
          set mode
 void setN(String n)
           
 void setNumberOfParts(int numberOfParts)
           
 void setNumberOfStudentsWithZeroAnswers(int numberOfStudentsWithZeroAnswers)
           
 void setNumResponses(int pnumResponses)
          set the number of responses
 void setNumStudentCollection(int[] pnumStudent)
          set the number of students for each bar
 void setPartNumber(String ppartNumber)
          set the part number
 void setPercentCorrect(String ppercentCorrect)
          set the percent correct
 void setPercentCorrectFromLowerQuartileStudents(String percentCorrectFromLowerQuartileStudents)
           
 void setPercentCorrectFromUpperQuartileStudents(String percentCorrectFromUpperQuartileStudents)
           
 void setPoolName(String qpoolName)
          set the the pool name
 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 setQuestionLabelFormat(String questionLabelFormat)
           
 void setQuestionNumber(String pquestionNumber)
          set the question number
 void setQuestionText(String pquestionText)
          set the question text
 void setQuestionType(String pquestionType)
          set the the question type
 void setRandomType(boolean param)
           
 void setRange(String prange)
          set range
 void setRangeCollection(String[] prange)
          set the range collection
 void setStandDev(String pstandDev)
          set the standard deviation
 void setTitle(String ptitle)
          set the question title
 void setTotalResponses(int ptotalResponses)
          set the total number of responses
 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

HistogramQuestionScoresBean

public HistogramQuestionScoresBean()
Creates a new HistogramQuestionScoresBean object.

Method Detail

setAgent

public void setAgent(String pagent)
set the agent

Parameters:
pagent - the agent

getAgent

public String getAgent()
get the agent

Returns:
the agent

getAssessmentName

public String getAssessmentName()
get the assessment name

Returns:
the name

setAssessmentName

public void setAssessmentName(String passessmentName)
set the assessment name

Parameters:
passessmentName - the name

getTitle

public String getTitle()
get the question title

Returns:
the title

setTitle

public void setTitle(String ptitle)
set the question title

Parameters:
ptitle - The title.

getAssessmentId

public String getAssessmentId()
get the assessment id

Returns:
the id

setAssessmentId

public void setAssessmentId(String passessmentId)
set the assessment id

Parameters:
passessmentId - the id

getGroupName

public String getGroupName()
get the group name

Returns:
the name

getAllSubmissions

public boolean getAllSubmissions()
all submissions

Returns:
all submissions true or false

setAllSubmissions

public void setAllSubmissions(boolean pallSubmissions)
all submissions

Parameters:
pallSubmissions - all submissions true or false

setGroupName

public void setGroupName(String pgroupName)
set the group name

Parameters:
pgroupName - the name

getRangeCollection

public String[] getRangeCollection()
get the range collection

Returns:
the range collection

setRangeCollection

public void setRangeCollection(String[] prange)
set the range collection

Parameters:
prange - the range collection

getNumStudentCollection

public int[] getNumStudentCollection()
get the number of students for each bar

Returns:
the number array

setNumStudentCollection

public void setNumStudentCollection(int[] pnumStudent)
set the number of students for each bar

Parameters:
pnumStudent - the nunber array

getColumnHeight

public int[] getColumnHeight()
get column height, or width if horizontal

Returns:
the array of height for each bar

setColumnHeight

public void setColumnHeight(int[] pcolumnHeight)
set the column heigh array

Parameters:
pcolumnHeight - the column height array

getArrayLength

public int getArrayLength()
get the number of bars

Returns:
the number

setArrayLength

public void setArrayLength(int parrayLength)
set the number of bars

Parameters:
parrayLength - number

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 getInfo()
get info

Returns:
info

setInfo

public void setInfo(Collection pinfo)
set info

Parameters:
pinfo - info

getMaxScore

public String getMaxScore()
set the maximum score

Returns:
score

setMaxScore

public void setMaxScore(String pmaxScore)
set the maximum score

Parameters:
pmaxScore - maxscore

getTotalScore

public String getTotalScore()
get the total score

Returns:
the total score

setTotalScore

public void setTotalScore(String ptotalScore)
set the total score

Parameters:
ptotalScore - total score

getAdjustedScore

public String getAdjustedScore()
get the adjusted score

Returns:
the adjusted score

setAdjustedScore

public void setAdjustedScore(String padjustedScore)
set the adjusted score

Parameters:
padjustedScoret - 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

getQuestionText

public String getQuestionText()
get the question text

Returns:
the question text

setQuestionText

public void setQuestionText(String pquestionText)
set the question text

Parameters:
pquestionText - the question text

getCorrectAnswer

public String getCorrectAnswer()
get correct answer

Returns:
the correct answer

setCorrectAnswer

public void setCorrectAnswer(String pcorrectAnswer)
set correct answer

Parameters:
pcorrectAnswer - the correct answer

getQuestionType

public String getQuestionType()
get the question type

Returns:
the question type

setQuestionType

public void setQuestionType(String pquestionType)
set the the question type

Parameters:
pquestionType - the question type

getPoolName

public String getPoolName()
get the pool name

Returns:
the pool name

setPoolName

public void setPoolName(String qpoolName)
set the the pool name

Parameters:
qpoolName - the pool name

getPercentCorrect

public String getPercentCorrect()
get the percent correct

Returns:
the percent correct

setPercentCorrect

public void setPercentCorrect(String ppercentCorrect)
set the percent correct

Parameters:
ppercentCorrect - the percent correct

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 mean

Returns:
mean

setMean

public void setMean(String pmean)
set mean

Parameters:
pmean - mean

getMedian

public String getMedian()
get median

Returns:
median

setMedian

public void setMedian(String pmedian)
set median

Parameters:
pmedian - median

getMode

public String getMode()
get mode

Returns:
mode

setMode

public void setMode(String pmode)
set mode

Parameters:
pmode - mode

getStandDev

public String getStandDev()
get the standard deviation

Returns:
the standard deviation

setStandDev

public void setStandDev(String pstandDev)
set the standard deviation

Parameters:
pstandDev - the standard deviation

getLowerQuartile

public String getLowerQuartile()
get the lower quartile

Returns:
the lower quartile

setLowerQuartile

public void setLowerQuartile(String plowerQuartile)
set the lower quartile

Parameters:
plowerQuartile - the lower quartile

getUpperQuartile

public String getUpperQuartile()
get the upper quartile

Returns:
the 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 the 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 range

Returns:
range

setRange

public void setRange(String prange)
set range

Parameters:
prange - range

getNumResponses

public int getNumResponses()
get the number of responses

Returns:
the number of responses

setNumResponses

public void setNumResponses(int pnumResponses)
set the number of responses

Parameters:
pnumResponses - the number of responses

getTotalResponses

public int getTotalResponses()
get the total number of responses

Returns:
the total number of responses

setTotalResponses

public void setTotalResponses(int ptotalResponses)
set the total number of responses

Parameters:
ptotalResponses - the total number of responses

getHistogramBars

public HistogramBarBean[] getHistogramBars()
HistogramBar arrray

Returns:
HistogramBar arrray

setHistogramBars

public void setHistogramBars(HistogramBarBean[] bars)
HistogramBar array

Parameters:
bars - HistogramBar arrray

getDetailedStats

public boolean getDetailedStats()
Do we show detailed statistics for this question

Returns:
boolean true if we do

setDetailedStats

public void setDetailedStats(boolean ignored)

getRandomType

public boolean getRandomType()

setRandomType

public void setRandomType(boolean param)

getQuestionLabel

public String getQuestionLabel()

setQuestionLabelFormat

public void setQuestionLabelFormat(String questionLabelFormat)

addStudentWithAllCorrect

public void addStudentWithAllCorrect(String agentId)

addStudentResponded

public void addStudentResponded(String agentId)

clearStudentsWithAllCorrect

public void clearStudentsWithAllCorrect()

clearStudentsResponded

public void clearStudentsResponded()

getStudentsWithAllCorrect

public Set getStudentsWithAllCorrect()

getStudentsResponded

public Set getStudentsResponded()

getDiscrimination

public String getDiscrimination()

setDiscrimination

public void setDiscrimination(String discrimination)

getPercentCorrectFromUpperQuartileStudents

public String getPercentCorrectFromUpperQuartileStudents()

setPercentCorrectFromUpperQuartileStudents

public void setPercentCorrectFromUpperQuartileStudents(String percentCorrectFromUpperQuartileStudents)

getPercentCorrectFromLowerQuartileStudents

public String getPercentCorrectFromLowerQuartileStudents()

setPercentCorrectFromLowerQuartileStudents

public void setPercentCorrectFromLowerQuartileStudents(String percentCorrectFromLowerQuartileStudents)

getN

public String getN()

setN

public void setN(String n)

getNumberOfStudentsWithZeroAnswers

public int getNumberOfStudentsWithZeroAnswers()

setNumberOfStudentsWithZeroAnswers

public void setNumberOfStudentsWithZeroAnswers(int numberOfStudentsWithZeroAnswers)

getItemId

public Long getItemId()

setItemId

public void setItemId(Long itemId)

getNumberOfParts

public int getNumberOfParts()

setNumberOfParts

public void setNumberOfParts(int numberOfParts)

getShowPercentageCorrectAndDiscriminationFigures

public boolean getShowPercentageCorrectAndDiscriminationFigures()

getSumOfStudentResponsesInUndisplayedItemAnalysisColumns

public int getSumOfStudentResponsesInUndisplayedItemAnalysisColumns()

getStudentResponsesInUndisplayedItemAnalysisColumns

public String getStudentResponsesInUndisplayedItemAnalysisColumns()


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