commit | author | age
|
86bbf7
|
1 |
/* |
cf6509
|
2 |
Mediazentrale - Personal Media Center |
U |
3 |
Copyright (C) 2021 Ulrich Hilger |
|
4 |
|
|
5 |
This program is free software: you can redistribute it and/or modify |
|
6 |
it under the terms of the GNU Affero General Public License as |
|
7 |
published by the Free Software Foundation, either version 3 of the |
|
8 |
License, or (at your option) any later version. |
|
9 |
|
|
10 |
This program is distributed in the hope that it will be useful, |
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
GNU Affero General Public License for more details. |
|
14 |
|
|
15 |
You should have received a copy of the GNU Affero General Public License |
|
16 |
along with this program. If not, see <https://www.gnu.org/licenses/>. |
86bbf7
|
17 |
*/ |
U |
18 |
package de.uhilger.mediaz.entity; |
|
19 |
|
|
20 |
/** |
|
21 |
* |
|
22 |
* @author ulrich |
|
23 |
*/ |
cf6509
|
24 |
public class Einstellung implements Entity { |
86bbf7
|
25 |
private String key; |
U |
26 |
private String value; |
|
27 |
|
|
28 |
public String getKey() { |
|
29 |
return key; |
|
30 |
} |
|
31 |
|
|
32 |
public void setKey(String key) { |
|
33 |
this.key = key; |
|
34 |
} |
|
35 |
|
|
36 |
public String getValue() { |
|
37 |
return value; |
|
38 |
} |
|
39 |
|
|
40 |
public void setValue(String value) { |
|
41 |
this.value = value; |
|
42 |
} |
cf6509
|
43 |
|
U |
44 |
@Override |
|
45 |
public String getName() { |
|
46 |
return key; |
|
47 |
} |
86bbf7
|
48 |
|
U |
49 |
|
|
50 |
} |