Android Open Source - PomodoroTimer Pomodoros Tag Class






From Project

Back to project page PomodoroTimer.

License

The source code is released under:

GNU General Public License

If you think the Android project PomodoroTimer 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.example.pomodorotimer;
/*  www. j  a v a 2s.  c o m*/
/**
 * The Class PomodorosTagsClass.
 * Used for operations on objects. Helps with database operations.
 * Stores information about pomodoro-tags connection.
 */
public class PomodorosTagClass
{
  
  /**
   * Instantiates a new pomodoros' tags class.
   */
  public PomodorosTagClass()
  {
    super();
  }
  
  /**
   * Instantiates a new pomodoros tag class completing it's fields.
   *
   * @param id the pomodoro tag's id
   * @param _pomodoroID the pomodoro's id
   * @param _tagID the tag's id
   */
  public PomodorosTagClass(long id, long _pomodoroID, long _tagID)
  {
    _id = id;
    pomodoroID = _pomodoroID;
    tagID = _tagID;
  }
  
  /** The object's _id. */
  private long _id;
  
  /** The pomodoro's id. */
  private long pomodoroID;
  
  /** The tag's id. */
  private long tagID;
  
  /**
   * Gets the pomodoro's id.
   *
   * @return the pomodoro's id
   */
  public long getPomodoroID()
  {
    return pomodoroID;
  }
  
  /**
   * Sets the pomodoro's id.
   *
   * @param pomodoroID the new pomodoro's id
   */
  public void setPomodoroID(int pomodoroID)
  {
    this.pomodoroID = pomodoroID;
  }
  
  /**
   * Gets the tag's id.
   *
   * @return the tag's id
   */
  public long getTagID()
  {
    return tagID;
  }
  
  /**
   * Sets the tag's id.
   *
   * @param tagID the new tag's id
   */
  public void setTagID(int tagID)
  {
    this.tagID = tagID;
  }

  /**
   * Gets the object's id.
   *
   * @return the id
   */
  public long getID()
  {
    return _id;
  }

  /**
   * Sets the object's id.
   *
   * @param _id the new id
   */
  public void setID(int _id)
  {
    this._id = _id;
  }
  

}




Java Source Code List

com.example.pomodorotimer.About.java
com.example.pomodorotimer.DropboxLink.java
com.example.pomodorotimer.MainActivity.java
com.example.pomodorotimer.PomodoroClass.java
com.example.pomodorotimer.PomodoroContentProvider.java
com.example.pomodorotimer.PomodoroDetails.java
com.example.pomodorotimer.PomodoroEdit.java
com.example.pomodorotimer.PomodoroList.java
com.example.pomodorotimer.PomodoroTimerDBContract.java
com.example.pomodorotimer.PomodoroTimerDBHelper.java
com.example.pomodorotimer.PomodorosTagClass.java
com.example.pomodorotimer.SettingsActivity.java
com.example.pomodorotimer.TagClass.java
com.example.pomodorotimer.TagDetails.java
com.example.pomodorotimer.TagEdit.java
com.example.pomodorotimer.TagList.java