summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de/bjusystems
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-02-12 22:23:30 +0100
committerlado <herrlado@gmail.com>2013-02-12 22:23:30 +0100
commit081040834e38e52a47cdf72281a2f3dcf30a1754 (patch)
tree20c705b2617bedeb025fb6e03c6c80b6bdac1b18 /vdrmanager/src/de/bjusystems
parent7cf09896768d7d8b53734b130eb8d8d47e00cb14 (diff)
downloadvdr-manager-081040834e38e52a47cdf72281a2f3dcf30a1754.tar.gz
vdr-manager-081040834e38e52a47cdf72281a2f3dcf30a1754.tar.bz2
@DatabaseTable
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java20
1 files changed, 17 insertions, 3 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java
index 02e9cc7..1a75469 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java
@@ -1,19 +1,33 @@
package de.bjusystems.vdrmanager.data;
-import de.bjusystems.vdrmanager.StringUtils;
-import de.bjusystems.vdrmanager.app.C;
-
import android.os.Parcel;
import android.os.Parcelable;
+import com.j256.ormlite.field.DatabaseField;
+import com.j256.ormlite.table.DatabaseTable;
+
+import de.bjusystems.vdrmanager.StringUtils;
+import de.bjusystems.vdrmanager.app.C;
+
+@DatabaseTable
public class Channel implements Parcelable {
+
+ @DatabaseField(id=true)
String id;
private int number;
+
+ @DatabaseField
private String name;
+
+ @DatabaseField(index=true)
private String provider;
+
+ @DatabaseField
private String rawAudio;
+
+ @DatabaseField(index = true)
private String group;
public String getGroup() {