File tree Expand file tree Collapse file tree 14 files changed +51
-41
lines changed Expand file tree Collapse file tree 14 files changed +51
-41
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ Examples:
147
147
148
148
### Marking a student's attendance: `mark'
149
149
150
- Denotes an existing student as present . The student may either be identified by index number
150
+ Denotes an existing student as paid . The student may either be identified by index number
151
151
in the edulog (starting from 1) or name (this is both case-sensitive and space-sensitive within the name provided).
152
152
153
153
Format: ` mark <INDEX - must be a positive integer> ` OR ` mark <STUDENT NAME> `
@@ -156,9 +156,19 @@ Examples:
156
156
* ` mark 3 `
157
157
* ` mark Alex Yeoh `
158
158
159
+ ### Marking all students' attendance: `markall'
160
+
161
+ Denotes all existing students as paid.
162
+
163
+ Format: ` markall `
164
+
165
+ Examples:
166
+ * ` markall `
167
+ * ` markall ofoeofn4334f30f04a3dr34r ` (all subsequent inputs are ignored)
168
+
159
169
### Unmarking a student's attendance: `unmark'
160
170
161
- Denotes an existing student as absent . The student may either be identified by index number
171
+ Denotes an existing student as unpaid . The student may either be identified by index number
162
172
in the edulog (starting from 1) or name (this is both case-sensitive and space-sensitive within the name provided).
163
173
164
174
Format: ` unmark <INDEX - must be a positive integer> ` OR ` unmark <STUDENT NAME> `
@@ -169,7 +179,7 @@ Examples:
169
179
170
180
### Unmarking all students' attendance: `unmarkall'
171
181
172
- Denotes all existing students as absent .
182
+ Denotes all existing students as unpaid .
173
183
174
184
Format: ` unmarkall `
175
185
Original file line number Diff line number Diff line change 5
5
import seedu .edulog .model .Model ;
6
6
7
7
/**
8
- * Mark all students, usually after attendance is taken
8
+ * Mark all students, usually after student has paid
9
9
*/
10
10
public class MarkAllCommand extends Command {
11
11
public static final String COMMAND_WORD = "markall" ;
Original file line number Diff line number Diff line change 4
4
import seedu .edulog .model .Model ;
5
5
6
6
/**
7
- * Marks a student identified using it's displayed index from the edulog book.
7
+ * Marks a student identified using their displayed index from the edulog book.
8
8
*/
9
9
public abstract class MarkCommand extends Command {
10
10
Original file line number Diff line number Diff line change 13
13
import seedu .edulog .model .student .Student ;
14
14
15
15
/**
16
- * Marks a student as present identified using its displayed index from the edulog book.
16
+ * Marks a student as has paid, identified using their displayed index from the edulog book.
17
17
*/
18
18
public class MarkIndexCommand extends MarkCommand {
19
19
Original file line number Diff line number Diff line change 5
5
import seedu .edulog .model .Model ;
6
6
7
7
/**
8
- * Unmark all students, usually after attendance is taken
8
+ * Unmark all students, usually when students have not paid.
9
9
*/
10
10
public class UnmarkAllCommand extends Command {
11
11
public static final String COMMAND_WORD = "unmarkall" ;
Original file line number Diff line number Diff line change 4
4
import seedu .edulog .model .Model ;
5
5
6
6
/**
7
- * Unmarks a student identified using its displayed index from the edulog book.
7
+ * Unmarks a student identified using their displayed index from the edulog book.
8
8
*/
9
9
public abstract class UnmarkCommand extends Command {
10
10
Original file line number Diff line number Diff line change 13
13
import seedu .edulog .model .student .Student ;
14
14
15
15
/**
16
- * Marks a student as absent identified using its displayed index from the edulog book.
16
+ * Marks a student as unpaid identified using their displayed index from the edulog book.
17
17
*/
18
18
public class UnmarkIndexCommand extends UnmarkCommand {
19
19
Original file line number Diff line number Diff line change 12
12
import seedu .edulog .model .student .Student ;
13
13
14
14
/**
15
- * Unmarks a student identified using its displayed name from the edulog book.
15
+ * Unmarks a student identified using their displayed name from the edulog book.
16
16
*/
17
17
public class UnmarkNameCommand extends UnmarkCommand {
18
18
Original file line number Diff line number Diff line change @@ -108,34 +108,34 @@ public void removeStudent(Student key) {
108
108
}
109
109
110
110
/**
111
- * Marks given student as present .
111
+ * Marks given student as paid .
112
112
*
113
- * @param student the student to mark as present .
113
+ * @param student the student to mark as paid .
114
114
*/
115
115
public void markStudent (Student student ) {
116
116
requireNonNull (student );
117
117
student .mark ();
118
118
}
119
119
120
120
/**
121
- * Marks all students as present .
121
+ * Marks all students as paid .
122
122
*/
123
123
public void markAllStudents () {
124
124
students .forEach (Student ::mark );
125
125
}
126
126
127
127
/**
128
- * Marks given student as absent .
128
+ * Marks given student as unpaid .
129
129
*
130
- * @param student the student to mark as absent .
130
+ * @param student the student to mark as unpaid .
131
131
*/
132
132
public void unmarkStudent (Student student ) {
133
133
requireNonNull (student );
134
134
student .unmark ();
135
135
}
136
136
137
137
/**
138
- * Marks all students as absent .
138
+ * Marks all students as unpaid .
139
139
*/
140
140
public void unmarkAllStudents () {
141
141
students .forEach (Student ::unmark );
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public interface Model {
66
66
void deleteStudent (Student target );
67
67
68
68
/**
69
- * Marks the given student as present .
69
+ * Marks the given student as paid .
70
70
* The student must exist in the address book.
71
71
*/
72
72
void markStudent (Student target );
@@ -77,7 +77,7 @@ public interface Model {
77
77
void markAllStudents ();
78
78
79
79
/**
80
- * Marks the given student as absent .
80
+ * Marks the given student as unpaid .
81
81
* The student must exist in the address book.
82
82
*/
83
83
void unmarkStudent (Student target );
You can’t perform that action at this time.
0 commit comments