| | 1 | UseCase1002 – Update Faculty |
| | 2 | |
| | 3 | Initiating actor: Administrator |
| | 4 | Other actors: None |
| | 5 | |
| | 6 | Description: |
| | 7 | Administrator modifies faculty data, such as location, name, or study field. |
| | 8 | |
| | 9 | Scenario: |
| | 10 | |
| | 11 | Administrator logs in and selects “Update Faculty.” |
| | 12 | |
| | 13 | System lists all faculties: |
| | 14 | |
| | 15 | SELECT Id, Name, Location, Study_field FROM Faculty; |
| | 16 | |
| | 17 | |
| | 18 | Administrator selects a faculty and updates details. |
| | 19 | |
| | 20 | System validates input and updates database: |
| | 21 | |
| | 22 | UPDATE Faculty |
| | 23 | SET Name = :name, Location = :location, Study_field = :study_field |
| | 24 | WHERE Id = :faculty_id; |
| | 25 | |
| | 26 | |
| | 27 | System confirms update and reflects changes across related data (students, professors, subjects). |