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 |
@DBTable(name="app.abspieler") |
|
26 |
@DBPrimaryKey({"abs_id"}) |
|
27 |
public class Abspieler { |
|
28 |
private int id; |
|
29 |
private String name; |
|
30 |
private String url; |
|
31 |
private String typ; |
|
32 |
private String bild; |
|
33 |
private String zustand; |
|
34 |
|
|
35 |
|
|
36 |
public void setId(int wert) { |
|
37 |
id = wert; |
|
38 |
} |
|
39 |
|
|
40 |
@DBColumn(name = "abs_id") |
|
41 |
public int getId() { |
|
42 |
return id; |
|
43 |
} |
|
44 |
|
|
45 |
public void setName(String wert) { |
|
46 |
name = wert; |
|
47 |
} |
|
48 |
|
|
49 |
@DBColumn(name = "abs_name") |
|
50 |
public String getName() { |
|
51 |
return name; |
|
52 |
} |
|
53 |
|
|
54 |
public void setUrl(String wert) { |
|
55 |
url = wert; |
|
56 |
} |
|
57 |
|
|
58 |
@DBColumn(name = "abs_url") |
|
59 |
public String getUrl() { |
|
60 |
return url; |
|
61 |
} |
|
62 |
|
|
63 |
public void setTyp(String wert) { |
|
64 |
typ = wert; |
|
65 |
} |
|
66 |
|
|
67 |
@DBColumn(name = "abs_typ") |
|
68 |
public String getTyp() { |
|
69 |
return typ; |
|
70 |
} |
|
71 |
|
|
72 |
public void setBild(String wert) { |
|
73 |
bild = wert; |
|
74 |
} |
|
75 |
|
|
76 |
@DBColumn(name = "abs_bild") |
|
77 |
public String getBild() { |
|
78 |
return bild; |
|
79 |
} |
|
80 |
|
|
81 |
public void setZustand(String wert) { |
|
82 |
zustand = wert; |
|
83 |
} |
|
84 |
|
|
85 |
@DBColumn(name = "abs_zustand") |
|
86 |
public String getZustand() { |
|
87 |
return zustand; |
|
88 |
} |
|
89 |
} |
|
90 |
|