org.prevayler.demos.jxpath.model
Class Project

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

public class Project
extends Object
implements Serializable

Represents a simple software project.

Author:
Carlos Villela
See Also:
Serialized Form

Constructor Summary
Project()
          Creates a new Project object.
 
Method Summary
 int getId()
          Returns the id.
 String getName()
          Returns the name.
 List getTasks()
          Returns the tasks.
 void setId(int id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setTasks(List tasks)
          Sets the tasks.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

public Project()
Creates a new Project object.

Method Detail

getName

public String getName()
Returns the name.

Returns:
String

getTasks

public List getTasks()
Returns the tasks.

Returns:
Task[]

setName

public void setName(String name)
Sets the name.

Parameters:
name - The name to set

setTasks

public void setTasks(List tasks)
Sets the tasks.

Parameters:
tasks - The tasks 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.