public class StudentDatabaseServerControl
extends java.lang.Object
| Constructor and Description |
|---|
StudentDatabaseServerControl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createStudent(Student student)
Creates the student.
|
static Student[] |
getStudents()
Gets the students.
|
static void |
modifyStudent(Student student)
Modify student.
|
static void |
moveStudent(java.lang.String studentID,
java.lang.String newClass)
Move student.
|
static void |
removeStudent(java.lang.String studentID)
Removes the student.
|
static void |
removeStudentsOfClass(java.lang.String className)
Removes the students of class.
|
public static void createStudent(Student student)
student - the studentpublic static Student[] getStudents()
public static void modifyStudent(Student student)
student - the studentpublic static void moveStudent(java.lang.String studentID,
java.lang.String newClass)
studentID - the student idnewClass - the new classpublic static void removeStudent(java.lang.String studentID)
studentID - the student idpublic static void removeStudentsOfClass(java.lang.String className)
className - the class name