summaryrefslogtreecommitdiffstats
path: root/src/de/animux/android/andmal/api/manga/Manga.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/animux/android/andmal/api/manga/Manga.java')
-rw-r--r--src/de/animux/android/andmal/api/manga/Manga.java209
1 files changed, 209 insertions, 0 deletions
diff --git a/src/de/animux/android/andmal/api/manga/Manga.java b/src/de/animux/android/andmal/api/manga/Manga.java
new file mode 100644
index 0000000..25670df
--- /dev/null
+++ b/src/de/animux/android/andmal/api/manga/Manga.java
@@ -0,0 +1,209 @@
+package de.animux.android.andmal.api.manga;
+
+import de.animux.android.andmal.api.MalObject;
+
+public class Manga extends MalObject {
+
+ private int id;
+ private String title;
+ private String synonyms;
+ private int type;
+ private int chapters;
+ private int volumes;
+ private int status;
+ private String start;
+ private String end;
+ private String image;
+
+ private int personalId;
+ private int personalReadChapters;
+ private int personalReadVolumes;
+ private String personalStart;
+ private String personalEnd;
+ private int personalScore;
+ private int personalStatus;
+ private int personalRereading;
+ private int personalRereadingChapters;
+ private int personalLastUpdated;
+ private String personalTags;
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId(int id) {
+ this.id = id;
+ }
+
+ public String getSynonyms() {
+ return synonyms;
+ }
+
+ public void setSynonyms(String synonyms) {
+ this.synonyms = synonyms;
+ }
+
+ public int getType() {
+ return type;
+ }
+
+ public void setType(int type) {
+ this.type = type;
+ }
+
+ public int getChapters() {
+ return chapters;
+ }
+
+ public void setChapters(int chapters) {
+ this.chapters = chapters;
+ }
+
+ public int getVolumes() {
+ return volumes;
+ }
+
+ public void setVolumes(int volumes) {
+ this.volumes = volumes;
+ }
+
+ public int getStatus() {
+ return status;
+ }
+
+ public void setStatus(int status) {
+ this.status = status;
+ }
+
+ public String getStart() {
+ return start;
+ }
+
+ public void setStart(String start) {
+ this.start = start;
+ }
+
+ public String getEnd() {
+ return end;
+ }
+
+ public void setEnd(String end) {
+ this.end = end;
+ }
+
+ public String getImage() {
+ return image;
+ }
+
+ public void setImage(String image) {
+ this.image = image;
+ }
+
+ public int getPersonalId() {
+ return personalId;
+ }
+
+ public void setPersonalId(int personalId) {
+ this.personalId = personalId;
+ }
+
+ public int getPersonalReadChapters() {
+ return personalReadChapters;
+ }
+
+ public void setPersonalReadChapters(int personalReadChapters) {
+ this.personalReadChapters = personalReadChapters;
+ }
+
+ public int getPersonalReadVolumes() {
+ return personalReadVolumes;
+ }
+
+ public void setPersonalReadVolumes(int personalReadVolumes) {
+ this.personalReadVolumes = personalReadVolumes;
+ }
+
+ public String getPersonalStart() {
+ return personalStart;
+ }
+
+ public void setPersonalStart(String personalStart) {
+ this.personalStart = personalStart;
+ }
+
+ public String getPersonalEnd() {
+ return personalEnd;
+ }
+
+ public void setPersonalEnd(String personalEnd) {
+ this.personalEnd = personalEnd;
+ }
+
+ public int getPersonalScore() {
+ return personalScore;
+ }
+
+ public void setPersonalScore(int personalScore) {
+ this.personalScore = personalScore;
+ }
+
+ public int getPersonalStatus() {
+ return personalStatus;
+ }
+
+ public void setPersonalStatus(int personalStatus) {
+ this.personalStatus = personalStatus;
+ }
+
+ public int getPersonalRereading() {
+ return personalRereading;
+ }
+
+ public void setPersonalRereading(int personalRereading) {
+ this.personalRereading = personalRereading;
+ }
+
+ public int getPersonalRereadingChapters() {
+ return personalRereadingChapters;
+ }
+
+ public void setPersonalRereadingChapters(int personalRereadingChapters) {
+ this.personalRereadingChapters = personalRereadingChapters;
+ }
+
+ public int getPersonalLastUpdated() {
+ return personalLastUpdated;
+ }
+
+ public void setPersonalLastUpdated(int personalLastUpdated) {
+ this.personalLastUpdated = personalLastUpdated;
+ }
+
+ public String getPersonalTags() {
+ return personalTags;
+ }
+
+ public void setPersonalTags(String personalTags) {
+ this.personalTags = personalTags;
+ }
+
+ @Override
+ public String getTitle() {
+ return this.title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ @Override
+ public int compareTo(MalObject arg0) {
+ return 0;
+ }
+
+ @Override
+ public String getProgress() {
+ return getPersonalReadChapters() + "/" + getChapters() + " ("
+ + getPersonalReadVolumes() + "/" + getVolumes() + ")";
+ }
+}