Back to project page AURHelperDroid.
The source code is released under:
Apache License
If you think the Android project AURHelperDroid 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.stomachion.aurhelperdroid.logic; // w w w. j a va 2s .com import java.io.Serializable; import java.util.GregorianCalendar; /** * User: Pedro Veloso * <p/> * This item defines the logic structure of a single item of the elements from the News feed */ public final class NewsItem implements Serializable { private String title, description, url, author; private GregorianCalendar publishDate = null; //empty constructor, to add data with Sets latter public NewsItem() { title = ""; description = ""; url = null; author = ""; } // Getters and Setters 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 getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public GregorianCalendar getPublishDate() { return publishDate; } public void setPublishDate(GregorianCalendar publishDate) { this.publishDate = publishDate; } }