package ar.edu.unc.famaf.redditreader.model;


import java.util.Date;

public class PostModel {
    private String mTitle;
    private String mAuthor;
    private Date mDate;
    private int mCommentNumber;
    private int mThumbnail; // This is the image URL
    private String mSubreddit;

    public PostModel() {
    }

    public PostModel(String title, String author, Date date, int commentNumber, int thumbnail, String subreddit) {
        mTitle = title;
        mAuthor = author;
        mDate = date;
        mCommentNumber = commentNumber;
        mThumbnail = thumbnail;
        mSubreddit = subreddit;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public String getAuthor() {
        return mAuthor;
    }

    public void setAuthor(String author) {
        mAuthor = author;
    }

    public Date getDate() {
        return mDate;
    }

    public void setDate(Date date) {
        mDate = date;
    }

    public int getCommentNumber() {
        return mCommentNumber;
    }

    public void setCommentNumber(int commentNumber) {
        mCommentNumber = commentNumber;
    }

    public int getThumbnail() {
        return mThumbnail;
    }

    public void setThumbnail(int thumbnail) {
        mThumbnail = thumbnail;
    }

    public String getSubreddit() {
        return mSubreddit;
    }

    public void setSubreddit(String subreddit) {
        mSubreddit = subreddit;
    }
}

@@ -212,19 +212,22 @@
 private 
+Str
 in
-t
+g
  mThumbn
@@ -400,19 +400,22 @@
 Number, 
+Str
 in
-t
+g
  thumbna
@@ -1198,27 +1198,30 @@
 %0A    public 
+Str
 in
-t
+g
  getThumbnai
@@ -1289,19 +1289,22 @@
 umbnail(
+Str
 in
-t
+g
  thumbna

Change PostModel thumbnail attribute type