commit | author | age
|
dfb7d3
|
1 |
/* |
94b1c2
|
2 |
Tango - Personal Media Center |
dfb7d3
|
3 |
Copyright (C) 2021 Ulrich Hilger |
U |
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/>. |
|
17 |
*/ |
94b1c2
|
18 |
package de.uhilger.tango.entity; |
dfb7d3
|
19 |
|
8d7d35
|
20 |
import java.util.ArrayList; |
dfb7d3
|
21 |
import java.util.List; |
U |
22 |
|
|
23 |
/** |
|
24 |
* |
|
25 |
* @author ulrich |
|
26 |
*/ |
|
27 |
public class Abspielliste implements Entity { |
|
28 |
|
|
29 |
private String name; |
|
30 |
private List<Titel> titel; |
8d7d35
|
31 |
|
U |
32 |
public Abspielliste() { |
|
33 |
titel = new ArrayList<>(); |
|
34 |
} |
dfb7d3
|
35 |
|
e60cff
|
36 |
public void addTitel(Titel t) { |
U |
37 |
this.titel.add(t); |
|
38 |
} |
|
39 |
|
dfb7d3
|
40 |
public List<Titel> getTitel() { |
U |
41 |
return titel; |
|
42 |
} |
|
43 |
|
|
44 |
public void setTitel(List titel) { |
|
45 |
this.titel = titel; |
|
46 |
} |
|
47 |
|
|
48 |
@Override |
|
49 |
public String getName() { |
|
50 |
return name; |
|
51 |
} |
|
52 |
|
|
53 |
public void setName(String name) { |
|
54 |
this.name = name; |
|
55 |
} |
|
56 |
|
|
57 |
} |