org.juniverse.jorganizer.todos
Class ToDo

java.lang.Object
  |
  +--org.juniverse.jorganizer.todos.ToDo

public class ToDo
extends java.lang.Object

Author:
alexander ilg

Field Summary
private  java.util.Date date
           
private  java.lang.String description
           
private  boolean done
           
private  int from
           
private  java.lang.String title
           
private  int to
           
private  java.util.Date until
           
 
Constructor Summary
ToDo()
           
 
Method Summary
 java.util.Date getDate()
          Returns the date.
 java.lang.String getDescription()
          Returns the description.
 int getFrom()
          Returns the from.
 java.lang.String getTitle()
          Returns the title.
 int getTo()
          Returns the to.
 java.util.Date getUntil()
          Returns the until.
 boolean isDone()
          Returns the done.
 void setDate(java.util.Date date)
          Sets the date.
 void setDescription(java.lang.String description)
          Sets the description.
 void setDone(boolean done)
          Sets the done.
 void setFrom(int userid)
          Sets the from.
 void setTitle(java.lang.String title)
          Sets the title.
 void setTo(int to)
          Sets the to.
 void setUntil(java.util.Date untilDate)
          Sets the until.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

private java.lang.String title

description

private java.lang.String description

from

private int from

to

private int to

date

private java.util.Date date

until

private java.util.Date until

done

private boolean done
Constructor Detail

ToDo

public ToDo()
Method Detail

getDate

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

Returns:
Date

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
String

getFrom

public int getFrom()
Returns the from.

Returns:
int

setDate

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

Parameters:
date - The date to set

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set

setFrom

public void setFrom(int userid)
Sets the from.


getTo

public int getTo()
Returns the to.

Returns:
int

setTo

public void setTo(int to)
Sets the to.

Parameters:
to - The to to set

getUntil

public java.util.Date getUntil()
Returns the until.

Returns:
Date

setUntil

public void setUntil(java.util.Date untilDate)
Sets the until.


isDone

public boolean isDone()
Returns the done.

Returns:
boolean

setDone

public void setDone(boolean done)
Sets the done.

Parameters:
done - The done to set