44 lines
648 B
Java
44 lines
648 B
Java
/**
|
|
* Represents a student with an id and a name.
|
|
*
|
|
* @author Marcus
|
|
*/
|
|
public class Student { // TODO: change type hierarchy
|
|
|
|
/**
|
|
* The student name.
|
|
*/
|
|
// TODO: field
|
|
|
|
/**
|
|
* The student id.
|
|
*/
|
|
// TODO: field
|
|
|
|
/**
|
|
* Creates a new student with a specified name and id.
|
|
*
|
|
* @param name The name of the student.
|
|
* @param id The id of the student.
|
|
*/
|
|
// TODO: constructor
|
|
|
|
/**
|
|
* Returns the name of the student.
|
|
*
|
|
* @return The name of the student.
|
|
*/
|
|
// TODO: getter
|
|
|
|
/**
|
|
* Returns the id of the student.
|
|
*
|
|
* @return The id of the student.
|
|
*/
|
|
// TODO: getter
|
|
|
|
|
|
// TODO: override equals
|
|
|
|
}
|