Java Doc for ItemData.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » data » dao » assessment » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.data.dao.assessment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.tool.assessment.data.dao.assessment.ItemData

ItemData
public class ItemData implements java.io.Serializable,ItemDataIfc,Comparable(Code)


Field Summary
final public static  LongADMIN
    
static  CategoryerrorLogger
    

Constructor Summary
public  ItemData()
    
public  ItemData(SectionDataIfc section, Integer sequence, Integer duration, String instruction, String description, Long typeId, String grade, Float score, String hint, Boolean hasRationale, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate, Set itemTextSet, Set itemMetaDataSet, Set itemFeedbackSet)
    
public  ItemData(SectionDataIfc section, Integer sequence, Integer duration, String instruction, String description, Long typeId, String grade, Float score, String hint, Boolean hasRationale, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate, Set itemTextSet, Set itemMetaDataSet, Set itemFeedbackSet, Integer triesAllowed)
    

Method Summary
public  voidaddItemFeedback(String typeId, String text)
    
public  voidaddItemMetaData(String label, String entry)
    
public  voidaddItemText(String text, Set answerSet)
    
public  intcompareTo(Object o)
    
public  StringgetAnswerKey()
     This method return the answerKey for a matching question e.g.
public  booleangetCorrectItemFbIsNotEmpty()
    
public  StringgetCorrectItemFeedback()
    
public  StringgetCreatedBy()
    
public  DategetCreatedDate()
    
public  StringgetDescription()
    
public  IntegergetDuration()
    
public  booleangetGeneralItemFbIsNotEmpty()
    
public  StringgetGeneralItemFeedback()
    
public  StringgetGrade()
    
public  BooleangetHasRationale()
    
public  StringgetHint()
    
public  StringgetInCorrectItemFeedback()
    
public  booleangetIncorrectItemFbIsNotEmpty()
    
public  StringgetInstruction()
    
public  BooleangetIsTrue()
     If this is a true-false question return true if it is true, else false.
public  ListgetItemAttachmentList()
    
public  SetgetItemAttachmentSet()
    
public  StringgetItemFeedback(String typeId)
    
public  HashMapgetItemFeedbackMap(Set itemFeedbackSet)
    
public  SetgetItemFeedbackSet()
    
public  LonggetItemId()
    
public  StringgetItemIdString()
    
public  StringgetItemMetaDataByLabel(String label)
    
public  HashMapgetItemMetaDataMap(Set itemMetaDataSet)
    
public  SetgetItemMetaDataSet()
    
public  ArrayListgetItemTextArray()
    
public  ArrayListgetItemTextArraySorted()
    
public  SetgetItemTextSet()
    
public  StringgetLastModifiedBy()
    
public  DategetLastModifiedDate()
    
public  FloatgetScore()
    
public  SectionDataIfcgetSection()
    
public  IntegergetSequence()
    
public  IntegergetStatus()
    
public  StringgetText()
     In the case of an ordinary question, this will obtain the a set of text with one element and return it; in FIB or FIN return multiple elements separated by underscores.
public  IntegergetTriesAllowed()
    
public  TypeIfcgetType()
    
public  LonggetTypeId()
    
public  booleanisNotEmpty(String wyzText)
    
public  voidremoveFeedbackByType(String typeId)
    
public  voidremoveMetaDataByType(String label)
    
public  voidsetCorrectItemFeedback(String text)
    
public  voidsetCreatedBy(String createdBy)
    
public  voidsetCreatedDate(Date createdDate)
    
public  voidsetDescription(String description)
    
public  voidsetDuration(Integer duration)
    
public  voidsetGeneralItemFeedback(String text)
    
public  voidsetGrade(String grade)
    
public  voidsetHasRationale(Boolean hasRationale)
    
public  voidsetHint(String hint)
    
public  voidsetInCorrectItemFeedback(String text)
    
public  voidsetInstruction(String instruction)
    
public  voidsetItemAttachmentSet(Set itemAttachmentSet)
    
public  voidsetItemFeedbackSet(Set itemFeedbackSet)
    
public  voidsetItemId(Long itemId)
    
public  voidsetItemIdString(String itemIdString)
    
public  voidsetItemMetaDataSet(Set itemMetaDataSet)
    
public  voidsetItemTextSet(Set itemTextSet)
    
public  voidsetLastModifiedBy(String lastModifiedBy)
    
public  voidsetLastModifiedDate(Date lastModifiedDate)
    
public  voidsetScore(Float score)
    
public  voidsetSection(SectionDataIfc section)
    
public  voidsetSequence(Integer sequence)
    
public  voidsetStatus(Integer status)
    
public  voidsetTriesAllowed(Integer triesAllowed)
    
public  voidsetTypeId(Long typeId)
    

Field Detail
ADMIN
final public static Long ADMIN(Code)



errorLogger
static Category errorLogger(Code)




Constructor Detail
ItemData
public ItemData()(Code)



ItemData
public ItemData(SectionDataIfc section, Integer sequence, Integer duration, String instruction, String description, Long typeId, String grade, Float score, String hint, Boolean hasRationale, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate, Set itemTextSet, Set itemMetaDataSet, Set itemFeedbackSet)(Code)



ItemData
public ItemData(SectionDataIfc section, Integer sequence, Integer duration, String instruction, String description, Long typeId, String grade, Float score, String hint, Boolean hasRationale, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate, Set itemTextSet, Set itemMetaDataSet, Set itemFeedbackSet, Integer triesAllowed)(Code)




Method Detail
addItemFeedback
public void addItemFeedback(String typeId, String text)(Code)



addItemMetaData
public void addItemMetaData(String label, String entry)(Code)



addItemText
public void addItemText(String text, Set answerSet)(Code)



compareTo
public int compareTo(Object o)(Code)



getAnswerKey
public String getAnswerKey()(Code)
This method return the answerKey for a matching question e.g. A:2, B:3, C:1, D:4 (where A, B & C is the answer label and 1,2 &3 are the itemText sequence Added by Huong Nguyen for other types as well.



getCorrectItemFbIsNotEmpty
public boolean getCorrectItemFbIsNotEmpty()(Code)



getCorrectItemFeedback
public String getCorrectItemFeedback()(Code)



getCreatedBy
public String getCreatedBy()(Code)



getCreatedDate
public Date getCreatedDate()(Code)



getDescription
public String getDescription()(Code)



getDuration
public Integer getDuration()(Code)



getGeneralItemFbIsNotEmpty
public boolean getGeneralItemFbIsNotEmpty()(Code)



getGeneralItemFeedback
public String getGeneralItemFeedback()(Code)
Get General Feedback



getGrade
public String getGrade()(Code)



getHasRationale
public Boolean getHasRationale()(Code)



getHint
public String getHint()(Code)



getInCorrectItemFeedback
public String getInCorrectItemFeedback()(Code)



getIncorrectItemFbIsNotEmpty
public boolean getIncorrectItemFbIsNotEmpty()(Code)



getInstruction
public String getInstruction()(Code)



getIsTrue
public Boolean getIsTrue()(Code)
If this is a true-false question return true if it is true, else false. If it is not a true-false question return false. true if this is a true true-false question



getItemAttachmentList
public List getItemAttachmentList()(Code)



getItemAttachmentSet
public Set getItemAttachmentSet()(Code)



getItemFeedback
public String getItemFeedback(String typeId)(Code)



getItemFeedbackMap
public HashMap getItemFeedbackMap(Set itemFeedbackSet)(Code)



getItemFeedbackSet
public Set getItemFeedbackSet()(Code)



getItemId
public Long getItemId()(Code)



getItemIdString
public String getItemIdString()(Code)



getItemMetaDataByLabel
public String getItemMetaDataByLabel(String label)(Code)



getItemMetaDataMap
public HashMap getItemMetaDataMap(Set itemMetaDataSet)(Code)



getItemMetaDataSet
public Set getItemMetaDataSet()(Code)



getItemTextArray
public ArrayList getItemTextArray()(Code)



getItemTextArraySorted
public ArrayList getItemTextArraySorted()(Code)



getItemTextSet
public Set getItemTextSet()(Code)



getLastModifiedBy
public String getLastModifiedBy()(Code)



getLastModifiedDate
public Date getLastModifiedDate()(Code)



getScore
public Float getScore()(Code)



getSection
public SectionDataIfc getSection()(Code)



getSequence
public Integer getSequence()(Code)



getStatus
public Integer getStatus()(Code)



getText
public String getText()(Code)
In the case of an ordinary question, this will obtain the a set of text with one element and return it; in FIB or FIN return multiple elements separated by underscores. text of question



getTriesAllowed
public Integer getTriesAllowed()(Code)



getType
public TypeIfc getType()(Code)



getTypeId
public Long getTypeId()(Code)



isNotEmpty
public boolean isNotEmpty(String wyzText)(Code)



removeFeedbackByType
public void removeFeedbackByType(String typeId)(Code)



removeMetaDataByType
public void removeMetaDataByType(String label)(Code)



setCorrectItemFeedback
public void setCorrectItemFeedback(String text)(Code)



setCreatedBy
public void setCreatedBy(String createdBy)(Code)



setCreatedDate
public void setCreatedDate(Date createdDate)(Code)



setDescription
public void setDescription(String description)(Code)



setDuration
public void setDuration(Integer duration)(Code)



setGeneralItemFeedback
public void setGeneralItemFeedback(String text)(Code)
Set General Feedback
Parameters:
  text -



setGrade
public void setGrade(String grade)(Code)



setHasRationale
public void setHasRationale(Boolean hasRationale)(Code)



setHint
public void setHint(String hint)(Code)



setInCorrectItemFeedback
public void setInCorrectItemFeedback(String text)(Code)



setInstruction
public void setInstruction(String instruction)(Code)



setItemAttachmentSet
public void setItemAttachmentSet(Set itemAttachmentSet)(Code)



setItemFeedbackSet
public void setItemFeedbackSet(Set itemFeedbackSet)(Code)



setItemId
public void setItemId(Long itemId)(Code)



setItemIdString
public void setItemIdString(String itemIdString)(Code)



setItemMetaDataSet
public void setItemMetaDataSet(Set itemMetaDataSet)(Code)



setItemTextSet
public void setItemTextSet(Set itemTextSet)(Code)



setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)(Code)



setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)(Code)



setScore
public void setScore(Float score)(Code)



setSection
public void setSection(SectionDataIfc section)(Code)



setSequence
public void setSequence(Integer sequence)(Code)



setStatus
public void setStatus(Integer status)(Code)



setTriesAllowed
public void setTriesAllowed(Integer triesAllowed)(Code)



setTypeId
public void setTypeId(Long typeId)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

ww_w___.__j___av__a___2s__.___c_om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.