data class SubmissionReport: Any
      
Fields
| Name | Description | 
|---|---|
| val indicator: Indicator | |
| val cssLabel: String | |
| val id: Long | is a primary-key like generated value | 
| val submissionId: Long | |
| val reportKey: String | is a String, matching the value of one of the existing Indicators | 
| val reportValue: String | is a String | 
| val reportProgress: Int? | is an Int. It only makes sense for certain indicators, like TEACHER_UNIT_TESTS | 
| val reportGoal: Int? | is an Int. It only makes sense for certain indicators, like TEACHER_UNIT_TESTS | 
| var assignment: Assignment? | 
Constructors
<init>
        constructor(id: Long, submissionId: Long, reportKey: String, reportValue: String, reportProgress: Int?, reportGoal: Int?, assignment: Assignment?)
      
Represents a SubmissionReport, which is the status of a Submission for a certain indicator (for example, Compilation). Each Submission will have multiple such indicators.
Parameters
| Name | Description | 
|---|---|
| id: Long | |
| submissionId: Long | |
| reportKey: String | |
| reportValue: String | |
| reportProgress: Int? | |
| reportGoal: Int? | |
| assignment: Assignment? | 
Methods
progressSummary
        fun progressSummary(isTeacher: Boolean): String?
      
Parameters
| Name | Description | 
|---|---|
| isTeacher: Boolean | 
ReturnValue
| Name | Description | 
|---|---|
| String? | 
showIcon
        fun showIcon(isTeacher: Boolean): Boolean
      
Parameters
| Name | Description | 
|---|---|
| isTeacher: Boolean | 
ReturnValue
| Name | Description | 
|---|---|
| Boolean | 
showItem
        fun showItem(isTeacher: Boolean): Boolean
      
Parameters
| Name | Description | 
|---|---|
| isTeacher: Boolean | 
ReturnValue
| Name | Description | 
|---|---|
| Boolean | 
Represents a SubmissionReport, which is the status of a Submission for a certain indicator (for example, Compilation). Each Submission will have multiple such indicators.