public class MyTask extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
| Constructor and Description |
|---|
MyTask() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Returns the date
|
int |
getIdMyTask()
Returns the IdMyTask
|
String |
getName()
Returns the Name
|
boolean |
isDone()
Check if the task is done or not
|
void |
setDate(Date date)
Sets the date
|
void |
setDone(boolean bIsDone)
Set is done
|
void |
setIdMyTask(int nIdMyTask)
Sets the IdMyTask
|
void |
setName(String strName)
Sets the Name
|
public static final String RESOURCE_TYPE
public int getIdMyTask()
public void setIdMyTask(int nIdMyTask)
nIdMyTask - The IdMyTaskpublic String getName()
public void setName(String strName)
strName - The Namepublic Date getDate()
public void setDate(Date date)
date - The datepublic void setDone(boolean bIsDone)
bIsDone - true if the task is done, false otherwisepublic boolean isDone()
Copyright © 2017 City of Paris. All rights reserved.