ch.claudio.todo.data
Class Task
java.lang.Object
ch.claudio.todo.data.Task
public class Task
- extends java.lang.Object
- Author:
- claudio
Constructor Summary |
Task(java.lang.String description,
long due,
long duration,
int category,
double done,
int priority)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Task
public Task(java.lang.String description,
long due,
long duration,
int category,
double done,
int priority)
- Parameters:
description
- due
- duration
- category
- done
- priority
-
getCategory
public int getCategory()
- Returns:
- the category
setCategory
public void setCategory(int category)
- Parameters:
category
- the category to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
getDone
public double getDone()
- Returns:
- the done
setDone
public void setDone(double done)
- Parameters:
done
- the done to set
getDue
public long getDue()
- Returns:
- the due
setDue
public void setDue(long due)
- Parameters:
due
- the due to set
getDuration
public long getDuration()
- Returns:
- the duration
setDuration
public void setDuration(long duration)
- Parameters:
duration
- the duration to set
getPriority
public int getPriority()
- Returns:
- the priority
setPriority
public void setPriority(int priority)
- Parameters:
priority
- the priority to set