From 3929b0fe2a7678b31f8971c9b9eb4536330f6c80 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 14 Apr 2021 16:26:58 +0000 Subject: [PATCH] Entitaet Geraet hinzugenommen, Aenderungen an Menues und UI --- src/de/uhilger/mediaz/entity/Einstellung.java | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/de/uhilger/mediaz/entity/Einstellung.java b/src/de/uhilger/mediaz/entity/Einstellung.java index 1b2e552..6797d76 100644 --- a/src/de/uhilger/mediaz/entity/Einstellung.java +++ b/src/de/uhilger/mediaz/entity/Einstellung.java @@ -1,15 +1,28 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + Mediazentrale - Personal Media Center + Copyright (C) 2021 Ulrich Hilger + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. */ package de.uhilger.mediaz.entity; /** - * - * @author ulrich + * Einstellung + * @author Ulich Hilger + * @version 1, 7.4.2021 */ -public class Einstellung { +public class Einstellung implements Entity { private String key; private String value; @@ -28,6 +41,11 @@ public void setValue(String value) { this.value = value; } + + @Override + public String getName() { + return key; + } } -- Gitblit v1.9.3