Android Open Source - BBC-News-Reader Item






From Project

Back to project page BBC-News-Reader.

License

The source code is released under:

Copyright (c) 2011, 2012, Digital Lizard (Oscar Key, Thomas Boby) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...

If you think the Android project BBC-News-Reader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*******************************************************************************
 * BBC News Reader/*ww  w  . j a  v  a2 s .  co m*/
 * Released under the BSD License. See README or LICENSE.
 * Copyright (c) 2011, Digital Lizard (Oscar Key, Thomas Boby)
 * All rights reserved.
 ******************************************************************************/
package com.digitallizard.bbcnewsreader;

public class Item {
  private String title;
  private String description;
  private String url;
  private int id;
  private byte[] thumbnailBytes;
  
  /**
   * @return the title
   */
  public String getTitle() {
    return title;
  }
  
  /**
   * @param title
   *            the title to set
   */
  public void setTitle(String title) {
    this.title = title;
  }
  
  /**
   * @return the description
   */
  public String getDescription() {
    return description;
  }
  
  /**
   * @param description
   *            the description to set
   */
  public void setDescription(String description) {
    this.description = description;
  }
  
  /**
   * @return the url
   */
  public String getUrl() {
    return url;
  }
  
  /**
   * @param url
   *            the url to set
   */
  public void setUrl(String url) {
    this.url = url;
  }
  
  /**
   * @return the id
   */
  public int getId() {
    return id;
  }
  
  /**
   * @param id
   *            the id to set
   */
  public void setId(int id) {
    this.id = id;
  }
  
  /**
   * @return the thumbnailBytes
   */
  public byte[] getThumbnailBytes() {
    return thumbnailBytes;
  }
  
  /**
   * @param thumbnailBytes
   *            the thumbnailBytes to set
   */
  public void setThumbnailBytes(byte[] thumbnailBytes) {
    this.thumbnailBytes = thumbnailBytes;
  }
  
  public Item(int id, String title, String description, String link, byte[] imageBytes) {
    this.title = title;
    this.description = description;
    this.url = link;
    this.id = id;
    this.thumbnailBytes = imageBytes;
  }
  
  public Item() {
  }
}




Java Source Code List

com.digitallizard.bbcnewsreader.ArticleActivity.java
com.digitallizard.bbcnewsreader.CategoryActivity.java
com.digitallizard.bbcnewsreader.CategoryChooserActivity.java
com.digitallizard.bbcnewsreader.CategoryChooserAdapter.java
com.digitallizard.bbcnewsreader.CategoryPagerAdapter.java
com.digitallizard.bbcnewsreader.Eula.java
com.digitallizard.bbcnewsreader.ItemAdapter.java
com.digitallizard.bbcnewsreader.ItemLayout.java
com.digitallizard.bbcnewsreader.Item.java
com.digitallizard.bbcnewsreader.RSSManager.java
com.digitallizard.bbcnewsreader.ReaderActivity.java
com.digitallizard.bbcnewsreader.ResourceInterface.java
com.digitallizard.bbcnewsreader.ResourceService.java
com.digitallizard.bbcnewsreader.ServiceManager.java
com.digitallizard.bbcnewsreader.SettingsActivity.java
com.digitallizard.bbcnewsreader.data.DatabaseHandler.java
com.digitallizard.bbcnewsreader.data.DatabaseHelper.java
com.digitallizard.bbcnewsreader.data.DatabaseProvider.java
com.digitallizard.bbcnewsreader.data.ItemClearer.java
com.digitallizard.bbcnewsreader.data.WrapBackwards.java
com.digitallizard.bbcnewsreader.fragments.ArticleFragment.java
com.digitallizard.bbcnewsreader.fragments.CategoryChooserFragment.java
com.digitallizard.bbcnewsreader.fragments.CategoryFragment.java
com.digitallizard.bbcnewsreader.fragments.FrontpageFragment.java
com.digitallizard.bbcnewsreader.resource.web.HtmlParser.java
com.digitallizard.bbcnewsreader.resource.web.ImageDownloader.java
com.digitallizard.bbcnewsreader.resource.web.QueueItem.java
com.digitallizard.bbcnewsreader.resource.web.WebManager.java
com.digitallizard.bbcnewsreader.widget.ReaderWidget.java
com.digitallizard.bbcnewsreader.widget.WidgetConfigActivity.java
com.hlidskialf.android.preference.SeekBarPreference.java