From fcc734a744409e307d334a1f8f4bfcfc0a319cb1 Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 08 Apr 2021 19:41:43 +0000 Subject: [PATCH] Titel auf Abspielliste, Abspielliste anzeigen, Eintrag auswaehlen --- 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