Dirty stub.
[wl-mobile.git] / src / pl / org / nowoczesnapolska / CatalogueEntry.java
diff --git a/src/pl/org/nowoczesnapolska/CatalogueEntry.java b/src/pl/org/nowoczesnapolska/CatalogueEntry.java
new file mode 100644 (file)
index 0000000..4f1e337
--- /dev/null
@@ -0,0 +1,31 @@
+package pl.org.nowoczesnapolska;
+
+public class CatalogueEntry {
+       // type: 0 -- book, 1 -- tag
+       private int type;
+       private int id;
+       private String name;
+       public CatalogueEntry(int type, int id, String name){
+               setType(type);
+               setId(id);
+               setName(name);
+       }
+       public void setType(int type) {
+               this.type = type;
+       }
+       public int getType() {
+               return type;
+       }
+       public void setId(int id) {
+               this.id = id;
+       }
+       public int getId() {
+               return id;
+       }
+       public void setName(String name) {
+               this.name = name;
+       }
+       public String getName() {
+               return name;
+       }
+}