data class ProjectGroup: Any
Fields
Name | Description |
---|---|
val authors: MutableSet<Author>
|
is a MutableSet containing the Authors that are part of the group |
val submissions: MutableSet<Submission>
|
is a MutableSet containing the Submissions done by the group |
val id: Long
|
is a primary-key like generated value |
Constructors
<init>
constructor(id: Long)
Represents a set of Authors (for example, students) that interact with Drop Project as a group.
Parameters
Name | Description |
---|---|
id: Long
|
Methods
authorsStr
fun authorsStr(separator: String): String
Parameters
Name | Description |
---|---|
separator: String
|
ReturnValue
Name | Description |
---|---|
String
|
authorsNameStr
fun authorsNameStr(): String
ReturnValue
Name | Description |
---|---|
String
|
contains
fun contains(authorName: String): Boolean
Parameters
Name | Description |
---|---|
authorName: String
|
ReturnValue
Name | Description |
---|---|
Boolean
|
equals
fun equals(other: Any?): Boolean
Parameters
Name | Description |
---|---|
other: Any?
|
ReturnValue
Name | Description |
---|---|
Boolean
|
hashCode
fun hashCode(): Int
ReturnValue
Name | Description |
---|---|
Int
|
Represents a set of Authors (for example, students) that interact with Drop Project as a group.