forked from nus-cs2103-AY2324S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from Originalidk/branch-ppp-dg
Update Ryan PPP and DG assignments
- Loading branch information
Showing
5 changed files
with
113 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@startuml | ||
skinparam arrowThickness 1.1 | ||
skinparam classBackgroundColor LOGIC_COLOR | ||
skinparam classAttributeIconSize 0 | ||
|
||
class AssignmentMap { | ||
-assignments: ObservableMap<AssignmentName, Assignment> | ||
+setAssignmentMap(): void | ||
+createUpdatedMap(): AssignmentMap | ||
+contains(): boolean | ||
+get(): Assignment | ||
} | ||
|
||
class Assignment { | ||
-assignmentName: AssignmentName | ||
-grade: Grade | ||
-comment: Comment | ||
+getName(): AssignmentName | ||
+getGrade(): Grade | ||
+maxGrade(): String | ||
+gradingStatus(): boolean | ||
+getComment(): Comment | ||
+commentStatus(): boolean | ||
+copyAssignment(): Assignment | ||
} | ||
|
||
class AssignmentName { | ||
-assignmentName: String | ||
+toString(): String | ||
} | ||
|
||
class Grade { | ||
-actualGrade: String | ||
-maxGrade: String | ||
-isGraded: boolean | ||
+getMax(): String | ||
+getIsGraded(): boolean | ||
+ungrade(): Grade | ||
} | ||
|
||
class Comment { | ||
-commentBody: String | ||
-isCommented: boolean | ||
+getIsCommented(): boolean | ||
+toString(): String | ||
} | ||
|
||
AssignmentMap o-- "*" Assignment: assignment | ||
Assignment o-- "1" AssignmentName: assignmentName | ||
Assignment o-- "1" Grade: grade | ||
Assignment o-- "1" Comment: comment | ||
@enduml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters