|
@ -80,6 +80,18 @@ public class Administration { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Student findStudentById(String StudentId) |
|
|
|
|
|
{ |
|
|
|
|
|
for(Student student :students) |
|
|
|
|
|
{ |
|
|
|
|
|
if(student.getId().equals(StudentId)) |
|
|
|
|
|
{ |
|
|
|
|
|
return student; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
/** |
|
|
/** |
|
|
* |
|
|
* |
|
|
* @param adminID the id of the admin you want to be deleted from the system |
|
|
* @param adminID the id of the admin you want to be deleted from the system |
|
|