@@ -295,15 +295,18 @@ Use case ends.
295
295
296
296
** Extensions**
297
297
298
- * 1a. The resident's details are incorrectly formatted (e.g phone number/email/year format does not conform, OR room number is invalid).
298
+ * 1a. The resident's details are incorrectly formatted (e.g. phone number/email/year format does not conform, OR room number is invalid).
299
299
* 1a1. SunRez displays an error stating which field is incorrectly formatted and requests the user to try again after fixing the stated error.
300
- Use case ends.
300
+
301
+ Use case ends.
301
302
* 1b. The resident's phone number or email are in use by an existing resident.
302
303
* 1b1. SunRez displays an error stating which field is already in use and requests the user to try again after fixing the stated error.
303
- Use case ends.
304
- * 2a. Sunrez encounters an error while saving the content.
304
+
305
+ Use case ends.
306
+ * 2a. SunRez encounters an error while saving the content.
305
307
* 2a1. SunRez shows an error message and requests the user to try their command again.
306
- Use case ends.
308
+
309
+ Use case ends.
307
310
308
311
309
312
### UC-002 List all residents
@@ -318,6 +321,7 @@ Use case ends.
318
321
** Extensions**
319
322
320
323
* 2a. The list is empty.
324
+
321
325
Use case ends.
322
326
323
327
@@ -334,7 +338,8 @@ Use case ends.
334
338
335
339
* 2a. There are no residents matching the keywords.
336
340
* 2a1. An empty list is displayed.
337
- Use case ends.
341
+
342
+ Use case ends.
338
343
339
344
### UC-004 Edit a resident record
340
345
@@ -350,10 +355,12 @@ Use case ends.
350
355
** Extensions**
351
356
352
357
* 2a. The list of residents is empty.
358
+
353
359
Use case ends.
354
360
* 3a. The resident's details are invalid (e.g phone number/email/dob format does not conform, OR room number is invalid).
355
361
* 3a1. SunRez shows an error message stating which field is incorrectly formatted and requests the user to try again.
356
- Use case resumes at step 2.
362
+
363
+ Use case resumes at step 2.
357
364
358
365
359
366
### UC-005 Delete a resident
@@ -370,10 +377,12 @@ Use case ends.
370
377
** Extensions**
371
378
372
379
* 2a. The list of residents is empty.
380
+
373
381
Use case ends.
374
382
* 3a. The specified resident does not exist.
375
- * SunRez shows an error message.
376
- Use case resumes at step 2.
383
+ * 3a1. SunRez shows an error message.
384
+
385
+ Use case resumes at step 2.
377
386
378
387
379
388
### UC-006 Add a room
@@ -388,7 +397,8 @@ Use case ends.
388
397
** Extensions**
389
398
* 1a. The room's details are invalid (e.g room number format is not valid).
390
399
* 1a1. SunRez shows an error stating which field is incorrectly formatted and requests the user to try again after fixing the stated error.
391
- Use case ends.
400
+
401
+ Use case ends.
392
402
393
403
394
404
### UC-007 List all rooms
@@ -414,11 +424,13 @@ Use case ends.
414
424
415
425
** Extensions**
416
426
417
- * 2a. The list of rooms is empty.
427
+ * 2a. The list of rooms is empty.
428
+
418
429
Use case ends.
419
- * 3a. The room's details are invalid (e.g room number format is not valid).
430
+ * 3a. The room's details are invalid (e.g. room number format is not valid).
420
431
* 3a1. SunRez shows an error message stating which field is incorrectly formatted and requests the user to try again.
421
- Use case resumes at step 2.
432
+
433
+ Use case resumes at step 2.
422
434
423
435
424
436
### UC-010 Delete a room
@@ -436,9 +448,10 @@ Similar to *UC-005 Delete a resident*, just replace resident with room.
436
448
Use case ends.
437
449
438
450
** Extensions**
439
- * 1a. The issue's details are invalid (e.g invalid room number).
440
- * 1a1. SunRez shows an error stating which field is incorrectly formatted and requests the user to try again after fixing the stated error.
441
- Use case ends.
451
+ * 1a. The issue's details are invalid (e.g. invalid room number).
452
+ * 1a1. SunRez shows an error stating which field is incorrectly formatted and requests the user to try again after fixing the stated error.
453
+
454
+ Use case ends.
442
455
443
456
444
457
### UC-012 List all issues
@@ -463,10 +476,12 @@ Use case ends.
463
476
** Extensions**
464
477
465
478
* 2a. The list of issue is empty.
479
+
466
480
Use case ends.
467
481
* 3a. The issue's details are invalid (e.g invalid room number).
468
482
* 3a1. SunRez shows an error message stating which field is incorrectly formatted and requests the user to try again.
469
- Use case resumes at step 2.
483
+
484
+ Use case resumes at step 2.
470
485
471
486
472
487
### UC-015 Close an issue
@@ -483,10 +498,12 @@ Use case ends.
483
498
** Extensions**
484
499
485
500
* 2a. The list is empty.
486
- Use case ends.
501
+
502
+ Use case ends.
487
503
* 3a. The given index is invalid.
488
504
* 3a1. SunRez shows an error message.
489
- Use case resumes at step 2.
505
+
506
+ Use case resumes at step 2.
490
507
491
508
### UC-016 Delete an issue
492
509
@@ -505,7 +522,8 @@ Use case ends.
505
522
506
523
* 1a. There are no previous commands that change state.
507
524
* 1a1 SunRez shows an error message.
508
- Use case ends.
525
+
526
+ Use case ends.
509
527
510
528
### UC-018 Redo Previous Command
511
529
@@ -520,7 +538,8 @@ Use case ends.
520
538
521
539
* 1a. There are no previously undone commands.
522
540
* 1a1 SunRez shows an error message.
523
- Use case ends.
541
+
542
+ Use case ends.
524
543
525
544
### UC-019 Allocate a Room
526
545
@@ -534,10 +553,12 @@ Use case ends.
534
553
** Extensions**
535
554
536
555
* 2a. There are no unassigned residents or unassigned.
556
+
537
557
Use case ends.
538
558
* 3a. The given index is invalid.
539
559
* 3a1. SunRez shows an error message.
540
- Use case resumes at step 2.
560
+
561
+ Use case resumes at step 2.
541
562
542
563
543
564
### UC-020 Deallocate a Room
@@ -552,10 +573,12 @@ Use case ends.
552
573
** Extensions**
553
574
554
575
* 2a. There are no unassigned residents or unassigned.
576
+
555
577
Use case ends.
556
578
* 3a. The given index is invalid.
557
579
* 3a1. SunRez shows an error message.
558
- Use case resumes at step 2.
580
+
581
+ Use case resumes at step 2.
559
582
560
583
561
584
### UC-021 Access Command History
@@ -590,11 +613,13 @@ Use case ends.
590
613
591
614
* 1a. Alias name is invalid.
592
615
* 1a1. SunRez shows an error message.
593
- Use case ends.
616
+
617
+ Use case ends.
594
618
595
619
* 2a. An alias with the same name exists.
596
620
* 2a1. SunRez overwrites the existing alias.
597
- Use case resumes from step 3.
621
+
622
+ Use case resumes from step 3.
598
623
599
624
## Non-Functional Requirements
600
625
0 commit comments