net.sf.tomp.el.author
Class Task

java.lang.Object
  extended by net.sf.tomp.el.author.Task
All Implemented Interfaces:
Described

public class Task
extends java.lang.Object
implements Described


Constructor Summary
Task(Tasks l, java.lang.String id)
          Creates a new instance of Task and sets its ID and Tasks.
 
Method Summary
 Description getDescription()
          Returns the task's description.
 java.io.File getFile()
          Returns the task's XML file.
 java.lang.String getId()
          Returns task's ID
 Tasks getTasks()
          Returns the tasks.
 void setDescription(Description description)
          Sets the task's description.
 java.lang.String toString()
          Creates string of task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Task

public Task(Tasks l,
            java.lang.String id)
Creates a new instance of Task and sets its ID and Tasks.

Parameters:
l - Tasks of the new instance
id - New task ID
Method Detail

getFile

public java.io.File getFile()
Returns the task's XML file.

Returns:
Task's file

getTasks

public Tasks getTasks()
Returns the tasks.

Returns:
Tasks

getId

public java.lang.String getId()
Returns task's ID

Returns:
Task's ID

toString

public java.lang.String toString()
Creates string of task.

Overrides:
toString in class java.lang.Object
Returns:
String containing "task <ID>"

getDescription

public Description getDescription()
Returns the task's description.

Specified by:
getDescription in interface Described
Returns:
Task's description

setDescription

public void setDescription(Description description)
Sets the task's description.

Specified by:
setDescription in interface Described
Parameters:
description - The description to set.