org.prevayler.demos.jxpath.model
Class Task

java.lang.Object
  extended by org.prevayler.demos.jxpath.model.Task
All Implemented Interfaces:
Serializable

public class Task
extends Object
implements Serializable

Represents a project's task to be completed

Author:
Carlos Villela
See Also:
Serialized Form

Constructor Summary
Task()
           
 
Method Summary
 Date getEnd()
          Returns the end.
 int getId()
          Returns the id.
 String getName()
          Returns the name.
 Date getStart()
          Returns the start.
 void setEnd(Date end)
          Sets the end.
 void setId(int id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setStart(Date start)
          Sets the start.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Task

public Task()
Method Detail

getEnd

public Date getEnd()
Returns the end.

Returns:
Date

getName

public String getName()
Returns the name.

Returns:
String

getStart

public Date getStart()
Returns the start.

Returns:
Date

setEnd

public void setEnd(Date end)
Sets the end.

Parameters:
end - The end to set

setName

public void setName(String name)
Sets the name.

Parameters:
name - The name to set

setStart

public void setStart(Date start)
Sets the start.

Parameters:
start - The start to set

getId

public int getId()
Returns the id.

Returns:
int

setId

public void setId(int id)
Sets the id.

Parameters:
id - The id to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013. All Rights Reserved.