NewsEntry.java :  » Log » android-tjintranet » edu » tjhsst » androidIntranet » news » Android Open Source

Android Open Source » Log » android tjintranet 
android tjintranet » edu » tjhsst » androidIntranet » news » NewsEntry.java
package edu.tjhsst.androidIntranet.news;

import java.io.Serializable;
import java.util.Date;

public class NewsEntry implements Serializable {
  
  private static final long serialVersionUID = 5952805529201038198L;
  
  private int identifier;
  private Date datePosted;
  private String title;
  private String content;
  private String poster;

  private boolean read;

  public NewsEntry(int identifier, String title, String content, String poster, Date datePosted, boolean read) {
    this.identifier=identifier;
    this.title=title;
    this.content=content;
    this.poster=poster;
    this.datePosted=datePosted;
    this.read = read;
  }

  public int getIdentifier() {
    return identifier;
  }

  public String getTitle() {
    return title;
  }

  public String getContent() {
    return content;
  }
  
  public String getPoster() {
    return poster;
  }

  public Date getDatePosted() {
    return datePosted;
  }
  
  public boolean isRead() {
    return read;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.