From 3bf5221ecb15a8ed5caecfe92bb3e0c111107949 Mon Sep 17 00:00:00 2001 From: ulrich Date: Mon, 22 Jan 2024 14:04:53 +0000 Subject: [PATCH] Kommentare ergaenzt --- src/de/uhilger/baselink/Eraser.java | 25 +++++++ src/de/uhilger/baselink/Selector.java | 25 +++++++ src/de/uhilger/baselink/Inserter.java | 25 +++++++ src/de/uhilger/baselink/Script.java | 25 +++++++ src/de/uhilger/baselink/ListConverter.java | 25 +++++++ src/de/uhilger/baselink/DBActor.java | 25 +++++++ src/de/uhilger/baselink/Updater.java | 25 +++++++ 7 files changed, 161 insertions(+), 14 deletions(-) diff --git a/src/de/uhilger/baselink/DBActor.java b/src/de/uhilger/baselink/DBActor.java index ea91911..1bca45c 100644 --- a/src/de/uhilger/baselink/DBActor.java +++ b/src/de/uhilger/baselink/DBActor.java @@ -1,8 +1,29 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; /** - * - * @author Ulrich Hilger + * Basisklasse fuer Helfer-Klassen zum Ausfuehren von Datenbankaktionen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class DBActor { diff --git a/src/de/uhilger/baselink/Eraser.java b/src/de/uhilger/baselink/Eraser.java index 484ed2a..dc236f3 100644 --- a/src/de/uhilger/baselink/Eraser.java +++ b/src/de/uhilger/baselink/Eraser.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import java.sql.Connection; @@ -7,8 +24,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zum Ausfuehren von SQL DELETE-Anweisungen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class Eraser extends DBActor { diff --git a/src/de/uhilger/baselink/Inserter.java b/src/de/uhilger/baselink/Inserter.java index 696131a..81b2b58 100644 --- a/src/de/uhilger/baselink/Inserter.java +++ b/src/de/uhilger/baselink/Inserter.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import java.sql.Connection; @@ -7,8 +24,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zum Ausfuehren von SQL INSERT-Anweisungen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class Inserter extends DBActor { diff --git a/src/de/uhilger/baselink/ListConverter.java b/src/de/uhilger/baselink/ListConverter.java index 79375fe..78055b5 100644 --- a/src/de/uhilger/baselink/ListConverter.java +++ b/src/de/uhilger/baselink/ListConverter.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import static de.uhilger.baselink.PersistenceManager.NULL_STR; @@ -13,8 +30,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zur Umwandlung von ResultSets in Listen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class ListConverter { diff --git a/src/de/uhilger/baselink/Script.java b/src/de/uhilger/baselink/Script.java index 3444746..7b6b657 100644 --- a/src/de/uhilger/baselink/Script.java +++ b/src/de/uhilger/baselink/Script.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import java.sql.Connection; @@ -10,8 +27,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zum Ausfuehren von SQL-Skripten + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class Script extends DBActor { private static final Logger logger = Logger.getLogger(Script.class.getName()); diff --git a/src/de/uhilger/baselink/Selector.java b/src/de/uhilger/baselink/Selector.java index 2ebc1a8..b1319b4 100644 --- a/src/de/uhilger/baselink/Selector.java +++ b/src/de/uhilger/baselink/Selector.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import java.sql.Connection; @@ -11,8 +28,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zum Ausfuehren von SQL SELECT-Anweisungen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class Selector extends DBActor { diff --git a/src/de/uhilger/baselink/Updater.java b/src/de/uhilger/baselink/Updater.java index 19f7e88..ac6063e 100644 --- a/src/de/uhilger/baselink/Updater.java +++ b/src/de/uhilger/baselink/Updater.java @@ -1,3 +1,20 @@ +/* + * BaseLink - Generic object relational mapping + * Copyright (C) 2024 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ + */ package de.uhilger.baselink; import java.sql.Connection; @@ -7,8 +24,12 @@ import java.util.logging.Logger; /** - * - * @author Ulrich Hilger + * Methoden zum Ausfuehren von SQL UPDATE-Anweisungen + * + * @author Copyright (c) Ulrich Hilger, <a href="http://uhilger.de">http://uhilger.de</a> + * @author Published under the terms and conditions of + * the <a href="http://www.gnu.org/licenses/" target="_blank">GNU General Public License</a> + * @version 1, January 22, 2024 */ public class Updater extends DBActor { private static final Logger logger = Logger.getLogger(Updater.class.getName()); -- Gitblit v1.9.3