Back to project page SimpleReader.
The source code is released under:
Apache License
If you think the Android project SimpleReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dreamteam.app.entity; /* ww w .j a v a 2 s. c o m*/ public class RSSFeedCategroy { private int id; private String title; private String tname; private String description; private String imagUrl; public RSSFeedCategroy() {} public RSSFeedCategroy(String title, String tname, String description, String imagUrl) { this.title = title; this.tname = tname; this.description = description; this.imagUrl = imagUrl; } @Override public String toString() { return "title" + ":" + description + ":" + imagUrl; } @Override public int hashCode() { return title.hashCode(); } @Override public boolean equals(Object o) { if (o == this) { return true; } else if (o instanceof RSSFeedCategroy) { final RSSFeedCategroy other = (RSSFeedCategroy) o; if(title == null) { return other.getTitle() == null; } return title.equals(other.getTitle()); } else { return false; } } // ////////////////////////////////////////////////////// // getters and setters // ////////////////////////////////////////////////////// public int getId() { return id; } public void setId(int id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getImagUrl() { return imagUrl; } public void setImagUrl(String imagUrl) { this.imagUrl = imagUrl; } public String getTname() { return tname; } public void setTname(String tname) { this.tname = tname; } }