|
Elektroniczny System oceniania 2.1
|
Public Member Functions | |
| StudentGradeView (String subjectName, double value, String description, Date date) | |
| String | getSubjectName () |
| double | getValue () |
| String | getDescription () |
| Date | getDate () |
Klasa modelu widoku reprezentująca pojedynczy wiersz oceny w tabeli ucznia. Łączy dane z tabel 'grades' i 'subjects', aby wyświetlić pełną informację (nazwa przedmiotu + ocena). Obiekty tej klasy są tworzone zazwyczaj po pobraniu danych z bazy SQL.
| com.example.elektroniczny_dziennik.StudentGradeView.StudentGradeView | ( | String | subjectName, |
| double | value, | ||
| String | description, | ||
| Date | date ) |
Konstruktor tworzący obiekt widoku oceny.
| subjectName | Nazwa przedmiotu. |
| value | Wartość oceny. |
| description | Opis oceny. |
| date | Data wystawienia. |
| Date com.example.elektroniczny_dziennik.StudentGradeView.getDate | ( | ) |
Pobiera datę wystawienia oceny.
| String com.example.elektroniczny_dziennik.StudentGradeView.getDescription | ( | ) |
Pobiera opis oceny.
| String com.example.elektroniczny_dziennik.StudentGradeView.getSubjectName | ( | ) |
Pobiera nazwę przedmiotu.
| double com.example.elektroniczny_dziennik.StudentGradeView.getValue | ( | ) |
Pobiera wartość oceny.