public class StudentController
extends java.lang.Object
Constructor and Description |
---|
StudentController() |
Modifier and Type | Method and Description |
---|---|
static void |
addStudent(Student s) |
static void |
deleteStudent(java.lang.String indeks) |
static void |
editStudent(java.lang.String indeks,
Student s) |
public static void addStudent(Student s)
s
- new Student to be added to Modelpublic static void deleteStudent(java.lang.String indeks)
indeks
- key value of the Student to be deleted from Modelpublic static void editStudent(java.lang.String indeks, Student s)
indeks
- key value of the Student to be edited in Models
- new Student with updated data in it