public class Bean {
public String title;
public String body;
public String authorname;
public String pubDate;
public String commentCount;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public String getAuthorname() {
return authorname;
}
public void setAuthorname(String authorname) {
this.authorname = authorname;
}
public String getPubDate() {
return pubDate;
}
public void setPubDate(String pubDate) {
this.pubDate = pubDate;
}
public String getCommentCount() {
return commentCount;
}
public void setCommentCount(String commentCount) {
this.commentCount = commentCount;
}
@Override
public String toString() {
return "Bean [title=" + title + ", body=" + body + ", authorname="
+ authorname + ", pubDate=" + pubDate + ", commentCount="
+ commentCount + "]";
}
}