commit | author | age
|
5eee56
|
1 |
/* |
U |
2 |
* Radiozentrale - Webradio App |
|
3 |
* Copyright (C) 2018 Ulrich Hilger, http://uhilger.de |
|
4 |
* |
|
5 |
* This program is free software: you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation, either version 3 of the License, or |
|
8 |
* (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 General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program. If not, see http://www.gnu.org/licenses/ |
|
17 |
*/ |
|
18 |
|
|
19 |
package de.uhilger.radiozentrale.daten; |
|
20 |
|
|
21 |
import de.uhilger.baselink.DBColumn; |
|
22 |
import de.uhilger.baselink.DBPrimaryKey; |
|
23 |
import de.uhilger.baselink.DBTable; |
|
24 |
|
|
25 |
/** |
|
26 |
* |
|
27 |
* @author Ulrich Hilger |
|
28 |
*/ |
|
29 |
@DBTable(name="app.abspieler") |
|
30 |
@DBPrimaryKey({"abs_id"}) |
|
31 |
public class Abspieler { |
|
32 |
private int id; |
|
33 |
private String name; |
|
34 |
private String url; |
|
35 |
private String typ; |
|
36 |
private String bild; |
|
37 |
private String zustand; |
|
38 |
|
|
39 |
|
|
40 |
public void setId(int wert) { |
|
41 |
id = wert; |
|
42 |
} |
|
43 |
|
|
44 |
@DBColumn(name = "abs_id") |
|
45 |
public int getId() { |
|
46 |
return id; |
|
47 |
} |
|
48 |
|
|
49 |
public void setName(String wert) { |
|
50 |
name = wert; |
|
51 |
} |
|
52 |
|
|
53 |
@DBColumn(name = "abs_name") |
|
54 |
public String getName() { |
|
55 |
return name; |
|
56 |
} |
|
57 |
|
|
58 |
public void setUrl(String wert) { |
|
59 |
url = wert; |
|
60 |
} |
|
61 |
|
|
62 |
@DBColumn(name = "abs_url") |
|
63 |
public String getUrl() { |
|
64 |
return url; |
|
65 |
} |
|
66 |
|
|
67 |
public void setTyp(String wert) { |
|
68 |
typ = wert; |
|
69 |
} |
|
70 |
|
|
71 |
@DBColumn(name = "abs_typ") |
|
72 |
public String getTyp() { |
|
73 |
return typ; |
|
74 |
} |
|
75 |
|
|
76 |
public void setBild(String wert) { |
|
77 |
bild = wert; |
|
78 |
} |
|
79 |
|
|
80 |
@DBColumn(name = "abs_bild") |
|
81 |
public String getBild() { |
|
82 |
return bild; |
|
83 |
} |
|
84 |
|
|
85 |
public void setZustand(String wert) { |
|
86 |
zustand = wert; |
|
87 |
} |
|
88 |
|
|
89 |
@DBColumn(name = "abs_zustand") |
|
90 |
public String getZustand() { |
|
91 |
return zustand; |
|
92 |
} |
|
93 |
} |
|
94 |
|