Dirty stub.
[wl-mobile.git] / src / pl / org / nowoczesnapolska / CatalogueEntry.java
1 package pl.org.nowoczesnapolska;
2
3 public class CatalogueEntry {
4         // type: 0 -- book, 1 -- tag
5         private int type;
6         private int id;
7         private String name;
8         public CatalogueEntry(int type, int id, String name){
9                 setType(type);
10                 setId(id);
11                 setName(name);
12         }
13         public void setType(int type) {
14                 this.type = type;
15         }
16         public int getType() {
17                 return type;
18         }
19         public void setId(int id) {
20                 this.id = id;
21         }
22         public int getId() {
23                 return id;
24         }
25         public void setName(String name) {
26                 this.name = name;
27         }
28         public String getName() {
29                 return name;
30         }
31 }