public class ItemContentsBean extends Object implements Serializable
This bean represents an item
| Constructor and Description |
|---|
ItemContentsBean() |
ItemContentsBean(ItemDataIfc itemData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAddComment() |
String |
getAnswerKeyTF() |
ArrayList |
getAnswers() |
Integer |
getAttemptsRemaining() |
String[] |
getColumnArray() |
List<Integer> |
getColumnIndexList() |
String |
getCommentField() |
float |
getDiscount()
String representation of the rounded discount.
|
String |
getDiscountForEdit()
String representation of the rounded Discount.
|
Integer |
getDuration() |
float |
getExactDiscount()
String representation of the exact points (unrounded discount)
|
float |
getExactPoints()
String representation of the exact points (unrounded points)
|
String |
getFeedback()
item level feedback
|
boolean |
getFeedbackIsNotEmpty() |
ArrayList |
getFibArray() |
ArrayList |
getFinArray() |
boolean |
getForceRanking() |
String |
getGradingComment()
grading comment
|
boolean |
getGradingCommentIsNotEmpty() |
boolean |
getHasAttachment() |
boolean |
getHasItemGradingAttachment() |
boolean |
getHasNoMedia() |
String |
getInstruction() |
boolean |
getIsInvalidFinInput() |
boolean |
getIsInvalidSALengthInput() |
boolean |
getIsTrue()
If this is a true-false question return true if it is true, else false.
|
ItemDataIfc |
getItemData()
the item data itself
|
List |
getItemGradingAttachmentList() |
ArrayList |
getItemGradingDataArray() |
Long |
getItemGradingIdForFilePicker() |
String |
getKey() |
String |
getKeyInUnicode() |
ArrayList |
getMatchingArray() |
ArrayList |
getMatrixArray() |
float |
getMaxPoints()
String representation of the max points available for this question.
|
ArrayList |
getMediaArray() |
boolean |
getModelAnswerIsNotEmpty() |
int |
getNumber()
question number
|
float |
getPoints()
String representation of the rounded points.
|
String |
getPointsDisplayString()
If we display the score, return it, followed by a slash.
|
String |
getPointsForEdit()
String representation of the rounded points.
|
String |
getRationale() |
String |
getRationaleForDisplay() |
int |
getRelativeWidth() |
String |
getResponseId() |
String[] |
getResponseIds() |
String |
getResponseText() |
String |
getResponseTextForDisplay() |
String |
getResponseTextPlain() |
boolean |
getReview() |
float |
getRoundedMaxPoints()
String representation of the max points available for this question.
|
String |
getSaCharCount() |
ArrayList |
getSelectionArray() |
List<javax.faces.model.SelectItem> |
getSelectItemPartsMC() |
String |
getSequence() |
ArrayList |
getShuffledAnswers() |
String |
getStrippedKey() |
String |
getStrippedText()
This strips text of tags for the table of contents.
|
String |
getStudentComment() |
String |
getText()
In the case of an ordinary question, this will obtain the a set of text
with one element and return it; in FIB return multiple elements separated
by underscores.
|
Integer |
getTriesAllowed() |
boolean |
getUnanswered() |
Float |
getUpdatedScore() |
boolean |
isNotEmpty(String wyzText) |
boolean |
isShowStudentQuestionScore()
Show the student question score currently earned?
|
boolean |
isShowStudentScore()
Show the student score currently earned?
|
boolean |
isUnanswered()
unanswered?
|
void |
setAddComment(boolean param) |
void |
setAnswers(ArrayList list) |
void |
setAttachment(Long itemGradingId) |
void |
setAttemptsRemaining(Integer param) |
void |
setColumnArray(String[] columnArray) |
void |
setColumnIndexList(List<Integer> columnIndexList) |
void |
setCommentField(String param) |
void |
setDiscount(float discount)
String representation of the Discount.
|
void |
setDiscountForEdit(String discountForEdit)
String representation of the discount.
|
void |
setDuration(Integer param) |
void |
setFeedback(String feedback)
item level feedback
|
void |
setFibArray(ArrayList newArray) |
void |
setFinArray(ArrayList newArray) |
void |
setForceRanking(boolean forceRanking) |
void |
setGradingComment(String gradingComment)
grading comment
|
void |
setInstruction(String instruction) |
void |
setIsInvalidFinInput(boolean isInvalidFinInput) |
void |
setIsInvalidSALengthInput(boolean isInvalidSALengthInput) |
void |
setItemData(ItemDataIfc itemData)
the item data itself
|
void |
setItemGradingAttachmentList(List itemGradingAttachmentList) |
void |
setItemGradingDataArray(ArrayList newArray) |
void |
setItemGradingIdForFilePicker(Long itemGradingIdForFilePicker) |
void |
setKey(String newKey) |
void |
setMatchingArray(ArrayList newArray) |
void |
setMatrixArray(ArrayList newArray) |
void |
setMaxPoints(float maxPoints)
String representation of the max points available for this question.
|
void |
setNumber(int number)
question number
|
void |
setPoints(float points)
String representation of the points.
|
void |
setPointsForEdit(String pointsForEdit)
String representation of the points.
|
void |
setRationale(String newRationale) |
void |
setRelativeWidth(int param) |
void |
setResponseId(String presponseId) |
void |
setResponseIds(String[] presponseIds) |
void |
setResponseText(String presponseId) |
void |
setResponseTextPlain(String presponseId) |
void |
setReview(boolean preview)
Does this need review?
|
void |
setSaCharCount(String saCharCount) |
void |
setSelectionArray(ArrayList newArray) |
void |
setSequence(String newSequence) |
void |
setShowStudentQuestionScore(boolean param)
Set the student question score currently earned.
|
void |
setShowStudentScore(boolean showStudentScore)
Set the student score currently earned.
|
void |
setShuffledAnswers(ArrayList newAnswers) |
void |
setStudentComment(String param) |
void |
setTriesAllowed(Integer param) |
void |
setUnanswered(boolean unanswered)
unanswered?
|
void |
setUpdatedScore(Float score) |
String |
strip(String text) |
public ItemContentsBean()
public ItemContentsBean(ItemDataIfc itemData)
public String getText()
public String getStrippedText()
public boolean getModelAnswerIsNotEmpty()
public boolean getFeedbackIsNotEmpty()
public boolean getGradingCommentIsNotEmpty()
public String getStrippedKey()
public float getPoints()
public float getExactPoints()
public void setPoints(float points)
points - String representation of the points.public String getPointsForEdit()
public void setPointsForEdit(String pointsForEdit)
points - String representation of the points.public float getDiscount()
public float getExactDiscount()
public void setDiscount(float discount)
discount - String representation of the Discount.public String getDiscountForEdit()
public void setDiscountForEdit(String discountForEdit)
discount - String representation of the discount.public boolean getReview()
public void setReview(boolean preview)
review - if true mark for reviewpublic boolean isUnanswered()
public void setUnanswered(boolean unanswered)
unanswered - public boolean getUnanswered()
public float getMaxPoints()
public float getRoundedMaxPoints()
public void setMaxPoints(float maxPoints)
maxPoints - String representation of the max points availablepublic int getNumber()
public void setNumber(int number)
number - public ItemDataIfc getItemData()
public void setItemData(ItemDataIfc itemData)
itemData - public String getGradingComment()
public void setGradingComment(String gradingComment)
gradingComment - grading commentpublic String getFeedback()
public void setFeedback(String feedback)
feedback - the item level feedbackpublic boolean getIsTrue()
public ArrayList getItemGradingDataArray()
public void setItemGradingDataArray(ArrayList newArray)
public String getResponseId()
public void setResponseId(String presponseId)
public String[] getResponseIds()
public void setResponseIds(String[] presponseIds)
public String getResponseText()
public String getResponseTextPlain()
public String getResponseTextForDisplay()
public void setResponseTextPlain(String presponseId)
public void setResponseText(String presponseId)
public ArrayList getMatchingArray()
public void setMatchingArray(ArrayList newArray)
public ArrayList getFibArray()
public void setFibArray(ArrayList newArray)
public ArrayList getFinArray()
public void setFinArray(ArrayList newArray)
public ArrayList getSelectionArray()
public void setSelectionArray(ArrayList newArray)
public ArrayList getMatrixArray()
public void setMatrixArray(ArrayList newArray)
public String[] getColumnArray()
public void setColumnArray(String[] columnArray)
public boolean getForceRanking()
public void setForceRanking(boolean forceRanking)
public int getRelativeWidth()
public void setRelativeWidth(int param)
public boolean getAddComment()
public void setAddComment(boolean param)
public String getCommentField()
public void setCommentField(String param)
public String getStudentComment()
public void setStudentComment(String param)
public List<javax.faces.model.SelectItem> getSelectItemPartsMC()
public ArrayList getAnswers()
public void setAnswers(ArrayList list)
public void setInstruction(String instruction)
public String getInstruction()
public void setRationale(String newRationale)
public String getRationale()
public String getRationaleForDisplay()
public String getKey()
public void setKey(String newKey)
public String getSequence()
public void setSequence(String newSequence)
public ArrayList getShuffledAnswers()
public void setShuffledAnswers(ArrayList newAnswers)
public Integer getTriesAllowed()
public void setTriesAllowed(Integer param)
public Integer getAttemptsRemaining()
public void setAttemptsRemaining(Integer param)
public Integer getDuration()
public void setDuration(Integer param)
public ArrayList getMediaArray()
public boolean isShowStudentScore()
public void setShowStudentScore(boolean showStudentScore)
showStudentScore - true/false Show the student score currently earned?public boolean isShowStudentQuestionScore()
public void setShowStudentQuestionScore(boolean param)
param - true/false Show the student score currently earned?public String getPointsDisplayString()
public boolean isNotEmpty(String wyzText)
public String getKeyInUnicode()
public boolean getHasAttachment()
public Float getUpdatedScore()
public void setUpdatedScore(Float score)
public boolean getHasNoMedia()
public String getAnswerKeyTF()
public void setAttachment(Long itemGradingId)
public List getItemGradingAttachmentList()
public void setItemGradingAttachmentList(List itemGradingAttachmentList)
public boolean getHasItemGradingAttachment()
public Long getItemGradingIdForFilePicker()
public void setItemGradingIdForFilePicker(Long itemGradingIdForFilePicker)
public void setIsInvalidFinInput(boolean isInvalidFinInput)
public boolean getIsInvalidFinInput()
public void setIsInvalidSALengthInput(boolean isInvalidSALengthInput)
public boolean getIsInvalidSALengthInput()
public String getSaCharCount()
public void setSaCharCount(String saCharCount)
Copyright © 2005-2014 Sakai Project. All Rights Reserved.