Package com.datasquad.task
Class Task
- java.lang.Object
-
- com.datasquad.task.Task
-
- All Implemented Interfaces:
java.io.Serializable
class Task extends java.lang.Object implements java.io.SerializableThis class represents a task. With this, we can store data in the TaskStorage. It's Serializable, so we can save this- Author:
- CADOUL Michael AND VERY-GRIETTE Milan
-
-
Constructor Summary
Constructors Constructor Description Task(java.lang.String mTitle, java.lang.String mDesc, java.lang.String mDate, int mPriority, int mType, java.lang.String mCreation)Constructor of the class.
-
Method Summary
Modifier and Type Method Description (package private) java.lang.StringgetmCreation()Getter(package private) java.lang.StringgetmDate()Getter(package private) java.lang.StringgetmDesc()Getter(package private) intgetmPriority()Getter(package private) java.lang.StringgetmTitle()Getter(package private) intgetmType()Getter
-
-
-
Constructor Detail
-
Task
Task(java.lang.String mTitle, java.lang.String mDesc, java.lang.String mDate, int mPriority, int mType, java.lang.String mCreation)Constructor of the class. We can only create a working task with this.- Parameters:
mTitle- The titlemDesc- The descriptionmDate- The date limitmPriority- The prioritymType- The typemCreation- The date of creation
-
-
Method Detail
-
getmTitle
java.lang.String getmTitle()
Getter- Returns:
- The title
-
getmDesc
java.lang.String getmDesc()
Getter- Returns:
- The description
-
getmDate
java.lang.String getmDate()
Getter- Returns:
- The limit date
-
getmCreation
java.lang.String getmCreation()
Getter- Returns:
- The creation date
-
getmPriority
int getmPriority()
Getter- Returns:
- The priority number
-
getmType
int getmType()
Getter- Returns:
- The type number
-
-