public class ItemBean extends Object implements Serializable
| Constructor and Description |
|---|
ItemBean()
Creates a new ItemBean object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addChoicesAction() |
String |
addMatchPair() |
String |
editMatchPair() |
boolean |
getAddComment() |
String |
getAdditionalChoices()
value of question
|
boolean |
getAddToFavorite() |
String |
getAnswer(int n)
get the nth answer
|
int[] |
getAnswerCounter()
get 1, 2, 3...
|
String[] |
getAnswerLabels()
ordered array of answers
|
String |
getAnswerNumber(int n)
Return the nth answer number, "A", "B", "C" etc.
|
String[] |
getAnswers()
ordered array of answers
|
boolean |
getCaseSensitiveForFib()
for fib, case sensitive for grading?
|
boolean |
getCaseSensitiveForFin()
for fin, case sensitive for grading?
|
boolean[] |
getChoiceCorrectArray()
This is an array of correct/not correct flags
|
String |
getColumnChoices() |
String |
getCommentField() |
String |
getCorrAnswer()
ordered array of correct answers
|
String[] |
getCorrAnswers()
ordered array of correct answers
|
String |
getCorrFeedback()
for correct feedback
|
String |
getCurrentFavorite() |
ArrayList |
getCurrentFavoriteList() |
MatchItemBean |
getCurrentMatchPair() |
String |
getFavoriteName() |
boolean |
getForceRanking() |
boolean |
getFromFavoriteSelectOneMenu() |
String |
getGeneralFeedback()
for general feedback
|
boolean |
getHasFavoriteList() |
String |
getIncorrFeedback()
for incorrect feedback
|
String |
getInstruction() |
String |
getItemDiscount()
value of question discount
|
String |
getItemId() |
String |
getItemScore()
value of question
|
String |
getItemText() |
String |
getItemType() |
String |
getKeyword()
get keyword metadata
|
String |
getMatch(int n)
Maching only.
|
String |
getMatchAnswer(int n)
Corresponding answer number for nth match
|
String[] |
getMatchAnswers()
Corresponding answer number list ordered for match
|
int[] |
getMatchCounter()
get 1, 2, 3...
|
String[] |
getMatches()
Maching only.
|
String |
getMatchFeedback(int n)
feedback for nth match
|
String[] |
getMatchFeedbackList()
array of matching feeback
|
ArrayList |
getMatchItemBeanList() |
String |
getMaxNumberRecordings()
for audio recording
|
String |
getMaxRecordingTime()
for audio recording
|
ArrayList |
getMultipleChoiceAnswers() |
boolean |
getMultipleCorrect()
for multiple choice questions, multiple correct?
|
String |
getMultipleCorrectString()
for multiple choice questions, multiple correct?
|
boolean |
getMutuallyExclusiveForFib()
for fib, Mutually exclusive for multiple answers, for grading?
|
boolean |
getMutuallyExclusiveForFin()
for fin, Mutually exclusive for multiple answers, for grading?
|
boolean |
getNewAddToFavorite() |
boolean |
getNewFavoriteChoice() |
String |
getNumAttempts() |
String |
getObjective()
get objective metadata
|
String |
getOrigPool()
String value of selected pool id
|
String |
getOrigSection()
String value of selected pool id
|
String |
getOutcome() |
String |
getPartialCreditFlag() |
String |
getPoolOutcome() |
String |
getRandomized()
Is question to be randomized?
|
String |
getRationale()
has rationale ?
|
int |
getRelativeWidth() |
String |
getRowChoices() |
String |
getRubric()
get rubric metadata
|
String |
getScaleName()
for survey
|
String |
getSelectedPool()
String value of selected pool id
|
String |
getSelectedRelativeWidth() |
String |
getSelectedSection()
String value of selected section id
|
boolean |
getShowMutuallyExclusiveForFibCheckbox()
for fib, Mutually exclusive for multiple answers, for grading?
|
boolean |
getShowMutuallyExclusiveForFinCheckbox()
for fin, Mutually exclusive for multiple answers, for grading?
|
String |
getTimeAllowed() |
int |
gettotalMCAnswers() |
boolean |
isCorrectChoice(int n)
is the nth choice correct?
|
boolean |
isCorrectChoice(String label) |
boolean |
isMatchError() |
boolean |
isPartialCreditEnabled() |
String |
removeChoices() |
String |
removeChoicesSingle() |
String |
removeMatchPair() |
void |
resetPartialCreditValues() |
String |
resetToDefaultGradingLogic() |
void |
setAddComment(boolean param) |
void |
setAdditionalChoices(String size)
value of question
|
void |
setAddToFavorite(boolean param) |
void |
setAnswer(int n,
String answer)
set the nth answer
|
void |
setAnswerLabels(String[] answers)
set ordered array of answers
|
void |
setAnswers(String[] answers)
set ordered array of answers
|
void |
setCaseSensitiveForFib(boolean param)
for fib questions
|
void |
setCaseSensitiveForFin(boolean param)
for fin questions
|
void |
setChoiceCorrectArray(boolean[] choiceCorrectArray)
set array of correct/not correct flags
|
void |
setColumnChoices(String param) |
void |
setColumnChoicesFromFavorite(String strFavorite) |
void |
setCommentField(String param) |
void |
setCorrAnswer(String answer)
set correct answer for True/False
|
void |
setCorrAnswers(String[] answers)
set ordered array of correct answers
|
void |
setCorrectChoice(int n,
boolean correctChoice)
set the nth choice correct?
|
void |
setCorrFeedback(String param)
set the corrfeedback
|
void |
setCurrentFavorite(String favorite) |
void |
setCurrentFavoriteList(String[] list) |
void |
setCurrentMatchPair(MatchItemBean param) |
void |
setFavoriteName(String param) |
void |
setForceRanking(boolean param) |
void |
setFromFavoriteSelectOneMenu(boolean param) |
void |
setGeneralFeedback(String param)
set the generalfeedback
|
void |
setHasFavoriteList(boolean param) |
void |
setIncorrFeedback(String param)
set the incorrectfeedback
|
void |
setInstruction(String param) |
void |
setItemDiscount(String discount)
value of question discount
|
void |
setItemId(String string) |
void |
setItemScore(String score)
value of question
|
void |
setItemText(String itemText) |
void |
setItemType(String param) |
void |
setKeyword(String param)
set metadata
|
void |
setMatch(int n,
String match)
Maching only.
|
void |
setMatchAnswer(int n,
String matchAnswer)
set answer number for nth match
|
void |
setMatchAnswers(String[] matchAnswers)
Corresponding answer number list ordered for match
|
void |
setMatches(String[] matches)
Maching only.
|
void |
setMatchFeedback(int n,
String matchFeedback)
set feedback for nth match
|
void |
setMatchFeedbackList(String[] matchFeedbackList)
set array of matching feeback
|
void |
setMatchItemBeanList(ArrayList list) |
void |
setMaxNumberRecordings(String maxNumberRecordings)
set audio recording maximum attempts
|
void |
setMaxRecordingTime(String maxRecordingTime)
for audio recording
|
void |
setMultipleChoiceAnswers(ArrayList list) |
void |
setMultipleCorrect(boolean multipleCorrect)
for multiple choice questions
|
void |
setMultipleCorrectString(String multipleCorrect)
for multiple choice questions
|
void |
setMutuallyExclusiveForFib(boolean param)
for fib questions
|
void |
setMutuallyExclusiveForFin(boolean param)
for fin questions
|
void |
setNewAddToFavorite(boolean param) |
void |
setNewFavoriteChoice(boolean param) |
void |
setNumAttempts(String param) |
void |
setObjective(String param)
set metadata
|
void |
setOrigPool(String param)
set the String value of selected pool id
|
void |
setOrigSection(String param)
set the String value of selected pool id
|
void |
setOutcome(String outcome) |
void |
setPartialCreditFlag(String partialCreditFlag) |
void |
setPoolOutcome(String poolOutcome) |
void |
setRandomized(String randomized)
Is question to be randomized?
|
void |
setRationale(String param) |
void |
setRelativeWidth(int param) |
void |
setRowChoices(String param) |
void |
setRubric(String param)
set metadata
|
void |
setScaleName(String scaleName)
set the survey scale
|
void |
setSelectedPool(String selectedPool)
set the String value of selected pool id
|
void |
setSelectedRelativeWidth(String param) |
void |
setSelectedSection(String selectedSection)
set the String value of selected section id
|
void |
setShowMutuallyExclusiveForFibCheckbox(boolean param)
for fib questions
|
void |
setShowMutuallyExclusiveForFinCheckbox(boolean param)
for fin questions
|
void |
setTimeAllowed(String param) |
void |
settotalMCAnswers() |
void |
toggleAddComment(javax.faces.event.ValueChangeEvent event) |
void |
toggleAddToFavorite(javax.faces.event.ValueChangeEvent event) |
void |
toggleChoiceTypes(javax.faces.event.ValueChangeEvent event) |
void |
togglePartialCredit(javax.faces.event.ValueChangeEvent event) |
public String getOutcome()
public void setOutcome(String outcome)
public String getPoolOutcome()
public void setPoolOutcome(String poolOutcome)
public String getItemId()
public void setItemId(String string)
string - public String getItemType()
public void setItemType(String param)
public String getItemText()
public void setItemText(String itemText)
public String getItemScore()
public void setItemScore(String score)
score - public String getItemDiscount()
public void setItemDiscount(String discount)
discount - public String getAdditionalChoices()
public void setAdditionalChoices(String size)
score - public String[] getAnswerLabels()
public void setAnswerLabels(String[] answers)
answers - ordered array of answerspublic String[] getAnswers()
public void setAnswers(String[] answers)
answers - ordered array of answerspublic String getCorrAnswer()
public void setCorrAnswer(String answer)
answers - ordered array of correct answerspublic String[] getCorrAnswers()
public void setCorrAnswers(String[] answers)
answers - ordered array of correct answerspublic int[] getAnswerCounter()
n - public String getAnswer(int n)
n - public void setAnswer(int n,
String answer)
n - answer - the nth answerpublic String getAnswerNumber(int n)
n - public boolean[] getChoiceCorrectArray()
public void setChoiceCorrectArray(boolean[] choiceCorrectArray)
choiceCorrectArray - of correct/not correct flagspublic boolean isCorrectChoice(String label)
public boolean isCorrectChoice(int n)
n - public void setCorrectChoice(int n,
boolean correctChoice)
n - correctChoice - true if it ispublic String getMaxRecordingTime()
public void setMaxRecordingTime(String maxRecordingTime)
maxRecordingTime - maximum time for recordingpublic String getMaxNumberRecordings()
public void setMaxNumberRecordings(String maxNumberRecordings)
maxNumberRecordings - public String getScaleName()
public void setScaleName(String scaleName)
scaleName - public String getIncorrFeedback()
public void setIncorrFeedback(String param)
incorrFeedback - public String getCorrFeedback()
public void setCorrFeedback(String param)
corrfeedback - public String getGeneralFeedback()
public void setGeneralFeedback(String param)
generalfeedback - public String getKeyword()
public void setKeyword(String param)
param - public String getObjective()
public void setObjective(String param)
param - public String getRubric()
public void setRubric(String param)
param - public String getTimeAllowed()
public void setTimeAllowed(String param)
public String getNumAttempts()
public void setNumAttempts(String param)
public String getMultipleCorrectString()
public void setMultipleCorrectString(String multipleCorrect)
multipleCorrectString - multiple correct?public void setMultipleChoiceAnswers(ArrayList list)
public void setMatchItemBeanList(ArrayList list)
public ArrayList getMatchItemBeanList()
public void setCurrentMatchPair(MatchItemBean param)
public MatchItemBean getCurrentMatchPair()
public boolean getMultipleCorrect()
public void setMultipleCorrect(boolean multipleCorrect)
multipleCorrect - multiple correct?public String getRandomized()
public void setRandomized(String randomized)
randomized - true if it ispublic String getInstruction()
public void setInstruction(String param)
public String getRationale()
public void setRationale(String param)
rationale - true if it ispublic String[] getMatches()
public void setMatches(String[] matches)
matches - array of match Strings.public String getMatch(int n)
n - public void setMatch(int n,
String match)
n - match - public int[] getMatchCounter()
n - public String[] getMatchAnswers()
public void setMatchAnswers(String[] matchAnswers)
matchAnswers - answer number list ordered for matchpublic String getMatchAnswer(int n)
n - public void setMatchAnswer(int n,
String matchAnswer)
n - matchAnswer - public String getMatchFeedback(int n)
n - public void setMatchFeedback(int n,
String matchFeedback)
n - matchFeedback - feedback for matchpublic String[] getMatchFeedbackList()
public void setMatchFeedbackList(String[] matchFeedbackList)
matchFeedbackList - array of matching feebackpublic String getSelectedSection()
public void setSelectedSection(String selectedSection)
selectedSection - String value of selected section idpublic String getSelectedPool()
public void setSelectedPool(String selectedPool)
selectedPool - String value of selected pool idpublic String getOrigPool()
public void setOrigPool(String param)
selectedPool - String value of selected pool idpublic String getOrigSection()
public void setOrigSection(String param)
selectedSection - String value of selected pool idpublic ArrayList getMultipleChoiceAnswers()
public void toggleChoiceTypes(javax.faces.event.ValueChangeEvent event)
public String addChoicesAction()
public String removeChoices()
public String removeChoicesSingle()
public boolean isMatchError()
public String addMatchPair()
public String editMatchPair()
public String removeMatchPair()
public boolean getCaseSensitiveForFib()
public void setCaseSensitiveForFib(boolean param)
case - sensitive for grading?public boolean getMutuallyExclusiveForFib()
public void setMutuallyExclusiveForFib(boolean param)
public boolean getShowMutuallyExclusiveForFibCheckbox()
public void setShowMutuallyExclusiveForFibCheckbox(boolean param)
public boolean getCaseSensitiveForFin()
public void setCaseSensitiveForFin(boolean param)
case - sensitive for grading?public boolean getMutuallyExclusiveForFin()
public void setMutuallyExclusiveForFin(boolean param)
public boolean getShowMutuallyExclusiveForFinCheckbox()
public void setShowMutuallyExclusiveForFinCheckbox(boolean param)
public void setPartialCreditFlag(String partialCreditFlag)
public String getPartialCreditFlag()
public boolean isPartialCreditEnabled()
public void togglePartialCredit(javax.faces.event.ValueChangeEvent event)
public void resetPartialCreditValues()
public String resetToDefaultGradingLogic()
public int gettotalMCAnswers()
public void settotalMCAnswers()
public boolean getAddToFavorite()
public void setAddToFavorite(boolean param)
public boolean getForceRanking()
public void setForceRanking(boolean param)
public int getRelativeWidth()
public void setRelativeWidth(int param)
public String getSelectedRelativeWidth()
public void setSelectedRelativeWidth(String param)
public boolean getAddComment()
public void setAddComment(boolean param)
public String getRowChoices()
public void setRowChoices(String param)
public String getColumnChoices()
public void setColumnChoices(String param)
public String getFavoriteName()
public void setFavoriteName(String param)
public boolean getFromFavoriteSelectOneMenu()
public void setFromFavoriteSelectOneMenu(boolean param)
public boolean getNewFavoriteChoice()
public void setNewFavoriteChoice(boolean param)
public boolean getNewAddToFavorite()
public void setNewAddToFavorite(boolean param)
public String getCommentField()
public void setCommentField(String param)
public void toggleAddToFavorite(javax.faces.event.ValueChangeEvent event)
public void toggleAddComment(javax.faces.event.ValueChangeEvent event)
public String getCurrentFavorite()
public void setCurrentFavorite(String favorite)
public boolean getHasFavoriteList()
public void setHasFavoriteList(boolean param)
public void setCurrentFavoriteList(String[] list)
public ArrayList getCurrentFavoriteList()
public void setColumnChoicesFromFavorite(String strFavorite)
Copyright © 2005-2014 Sakai Project. All Rights Reserved.