fr.paris.lutece.plugins.mytasks.business
Class MyTask

java.lang.Object
  extended by fr.paris.lutece.plugins.mytasks.business.MyTask
All Implemented Interfaces:
java.io.Serializable

public class MyTask
extends java.lang.Object
implements java.io.Serializable

MyTask

See Also:
Serialized Form

Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
MyTask()
           
 
Method Summary
 java.sql.Date getDate()
          Returns the date
 int getIdMyTask()
          Returns the IdMyTask
 java.lang.String getName()
          Returns the Name
 boolean isDone()
          Check if the task is done or not
 void setDate(java.sql.Date date)
          Sets the date
 void setDone(boolean bIsDone)
          Set is done
 void setIdMyTask(int nIdMyTask)
          Sets the IdMyTask
 void setName(java.lang.String strName)
          Sets the Name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

MyTask

public MyTask()
Method Detail

getIdMyTask

public int getIdMyTask()
Returns the IdMyTask

Returns:
The IdMyTask

setIdMyTask

public void setIdMyTask(int nIdMyTask)
Sets the IdMyTask

Parameters:
nIdMyTask - The IdMyTask

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setName

public void setName(java.lang.String strName)
Sets the Name

Parameters:
strName - The Name

getDate

public java.sql.Date getDate()
Returns the date

Returns:
The date

setDate

public void setDate(java.sql.Date date)
Sets the date

Parameters:
date - The date

setDone

public void setDone(boolean bIsDone)
Set is done

Parameters:
bIsDone - true if the task is done, false otherwise

isDone

public boolean isDone()
Check if the task is done or not

Returns:
true if the task is done, false otherwise


Copyright © 2011 Mairie de Paris. All Rights Reserved.