From 90d3686163b6eff25fcb8a99bb52486a9f9c1f9f Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 07 Apr 2021 12:48:56 +0000 Subject: [PATCH] Einstellungen --- src/de/uhilger/mediaz/entity/Einstellung.java | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/de/uhilger/mediaz/entity/Einstellung.java b/src/de/uhilger/mediaz/entity/Einstellung.java index 1b2e552..555fb76 100644 --- a/src/de/uhilger/mediaz/entity/Einstellung.java +++ b/src/de/uhilger/mediaz/entity/Einstellung.java @@ -1,7 +1,19 @@ /* - * 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; @@ -9,7 +21,7 @@ * * @author ulrich */ -public class Einstellung { +public class Einstellung implements Entity { private String key; private String value; @@ -28,6 +40,11 @@ public void setValue(String value) { this.value = value; } + + @Override + public String getName() { + return key; + } } -- Gitblit v1.9.3