#10 JavaDoc ergänzt #2
All checks were successful
Quality Check / Linting Check (push) Successful in 16s
Quality Check / Linting Check (pull_request) Successful in 22s
Quality Check / Javadoc Check (push) Successful in 35s
Quality Check / Javadoc Check (pull_request) Successful in 33s

This commit is contained in:
Dorian Nemec 2024-05-16 13:54:32 +02:00
parent d9e0aa2049
commit e583d825ec
3 changed files with 6 additions and 5 deletions

View file

@ -88,7 +88,7 @@ public class MainWindowController {
} }
/** /**
* Loads the treatment page into its tab. * Loads the {@link } page into its tab.
*/ */
private void loadTreatmentsPage() { private void loadTreatmentsPage() {
try { try {
@ -120,7 +120,7 @@ public class MainWindowController {
} }
/** /**
* Loads the active Nurse page into its tab. * Loads the active {@link Nurse} page into its tab.
*/ */
private void loadActiveNursePage() { private void loadActiveNursePage() {
try { try {
@ -138,7 +138,7 @@ public class MainWindowController {
} }
/** /**
* Loads the locked nurse page into its tab. * Loads the locked {@link Nurse} page into its tab.
*/ */
private void loadLockedNursePage() { private void loadLockedNursePage() {
try { try {

View file

@ -21,6 +21,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
/** /**
* Controller for all locked nurses.
* @author Armin Ribic * @author Armin Ribic
* @author Dorian Nemec * @author Dorian Nemec
*/ */
@ -69,7 +70,7 @@ public class LockedNurseController {
} }
/** /**
* Reads all locked nurse data and shows it in the table. * Reads all locked {@link Nurse} data and shows it in the table.
*/ */
private void readAllAndShowInTableView() { private void readAllAndShowInTableView() {
this.nurses.clear(); this.nurses.clear();

View file

@ -71,7 +71,7 @@ public class NurseDao extends DaoImp<Nurse> {
} }
/** /**
* Reads all active nurses. * Read all database entries of active {@link Nurse}s into a {@link List} of model instances.
*/ */
public List<Nurse> readAllActive() throws SQLException { public List<Nurse> readAllActive() throws SQLException {
final String SQL = "SELECT * FROM nurse WHERE isLocked=false"; final String SQL = "SELECT * FROM nurse WHERE isLocked=false";