Android Open Source - MyJournal Journal Entry






From Project

Back to project page MyJournal.

License

The source code is released under:

GNU General Public License

If you think the Android project MyJournal 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 com.shane87.myjournal;
/*from ww w. j  av  a2s. c  o m*/
public class JournalEntry {
  
  private static int eId;
  private static String eTitle;
  private static String eEntry;
  private static String eDate;
  private static String eTime;
  
  JournalEntry(int id, String title, String entry, String date, String time)
  {
    eId = id;
    eTitle = title;
    eEntry = entry;
    eDate = date;
    eTime = time;
  }
  
  public void setId(int id)
  {
    eId = id;
  }
  
  public void setTitle(String title)
  {
    eTitle = title;
  }
  
  public void setEntry(String entry)
  {
    eEntry = entry;
  }
  
  public void setDate(String date)
  {
    eDate = date;
  }
  
  public void setTime(String time)
  {
    eTime = time;
  }
  
  public int getId()
  {
    return eId;
  }
  
  public String getTitle()
  {
    return eTitle;
  }
  
  public String getEntry()
  {
    return eEntry;
  }
  
  public String getDate()
  {
    return eDate;
  }
  
  public String getTime()
  {
    return eTime;
  }

}




Java Source Code List

com.shane87.myjournal.EditEntryActivity.java
com.shane87.myjournal.JournalAdapter.java
com.shane87.myjournal.JournalContract.java
com.shane87.myjournal.JournalDbHelper.java
com.shane87.myjournal.JournalEntry.java
com.shane87.myjournal.Journal.java
com.shane87.myjournal.MainActivity.java