Android Open Source - deborsi-notes Item






From Project

Back to project page deborsi-notes.

License

The source code is released under:

GNU General Public License

If you think the Android project deborsi-notes 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

package ca.ualberta.cs.deborsi_notes;
//from ww  w  .  j  av  a  2 s .c o  m
import java.io.Serializable;

// Implements an item of type Item to be put on the list

public class Item implements Serializable {
  
  /**
   * Item Serialization ID
   */
  private static final long serialVersionUID = -8540572367716383907L;
  
  protected String itemName;
  private Boolean status;
  
  // constructor for type Item
  public Item(String itemName) {
    this.itemName = itemName;
    this.status = false;
  }

  public String getItem() {
    return itemName;
  }
  
  public String toString(){
    return getItem();
  }
  
  public Boolean getStatus(){
    return status;
  }

  public void setStatus(Boolean status){
    this.status = status;
  }
}




Java Source Code List

ca.ualberta.cs.deborsi_notes.ArchiveActivity.java
ca.ualberta.cs.deborsi_notes.EmailActivity.java
ca.ualberta.cs.deborsi_notes.EmptyItemListException.java
ca.ualberta.cs.deborsi_notes.ItemListActivity.java
ca.ualberta.cs.deborsi_notes.ItemListManager.java
ca.ualberta.cs.deborsi_notes.ItemList.java
ca.ualberta.cs.deborsi_notes.Item.java
ca.ualberta.cs.deborsi_notes.Listener.java
ca.ualberta.cs.deborsi_notes.MainActivity.java