X-Git-Url: https://git.mdrn.pl/wl-mobile.git/blobdiff_plain/5d980cab6eb143360d93f85812f4250c7a3f4dc9..c59a709afb0196f8853ec81e9a349e4b4868fe3c:/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 index 0000000..4f1e337 --- /dev/null +++ b/src/pl/org/nowoczesnapolska/CatalogueEntry.java @@ -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; + } +}