Synergy Home Page

au.edu.swin.synergy.plugin.syndicate
Class BTask

java.lang.Object
  |
  +--au.edu.swin.synergy.plugin.syndicate.BTask

public class BTask
extends Object
implements Serializable

This class stores Syndicate task information.

See Also:
Serialized Form

Field Summary
protected  Vector dependencies
          Stores the list of dependent tasks for this task (stores task ids in Integer objects).
protected  String description
          Stores the description of this task.
protected  Date finishDate
          Stores the finish date of this task.
protected  Date latestDate
          Stores the latest date of this task.
protected  int parentTaskID
          Stores the task ID of this tasks parent task (or -1 of there is no parent).
protected  double percentOfParent
          Stores the percent of this task's parent that this task represents.
protected  BStringList resources
          Stores the list of resources allocated to this task.
protected  Date startDate
          Stores the start date of this task.
protected  int taskID
          Stores the task ID of this task.
protected  String title
          Stores the title of this task.
 
Constructor Summary
BTask()
          Creates a new task.
 
Method Summary
 Vector getDependencies()
           
 String getDescription()
           
 Date getFinishDate()
           
 Date getLatestDate()
           
 int getParentTaskID()
           
 double getPercentOfParent()
           
 BStringList getResources()
           
 Date getStartDate()
           
 int getTaskID()
           
 String getTitle()
          Series of pointless get and set methods...
 void setDependencies(Vector dependencies)
           
 void setDescription(String description)
           
 void setFinishDate(Date finishDate)
           
 void setLatestDate(Date latestDate)
           
 void setParentTaskID(int parentTaskID)
           
 void setPercentOfParent(double percentOfParent)
           
 void setResources(BStringList resources)
           
 void setStartDate(Date startDate)
           
 void setTaskID(int taskID)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected String title
Stores the title of this task.

description

protected String description
Stores the description of this task.

resources

protected BStringList resources
Stores the list of resources allocated to this task.

dependencies

protected Vector dependencies
Stores the list of dependent tasks for this task (stores task ids in Integer objects).

taskID

protected int taskID
Stores the task ID of this task.

parentTaskID

protected int parentTaskID
Stores the task ID of this tasks parent task (or -1 of there is no parent).

startDate

protected Date startDate
Stores the start date of this task.

finishDate

protected Date finishDate
Stores the finish date of this task.

latestDate

protected Date latestDate
Stores the latest date of this task.

percentOfParent

protected double percentOfParent
Stores the percent of this task's parent that this task represents.
Constructor Detail

BTask

public BTask()
Creates a new task.
Method Detail

getTitle

public String getTitle()
Series of pointless get and set methods... yay for OO methodology.

setTitle

public void setTitle(String title)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getResources

public BStringList getResources()

setResources

public void setResources(BStringList resources)

getDependencies

public Vector getDependencies()

setDependencies

public void setDependencies(Vector dependencies)

getTaskID

public int getTaskID()

setTaskID

public void setTaskID(int taskID)

getParentTaskID

public int getParentTaskID()

setParentTaskID

public void setParentTaskID(int parentTaskID)

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getFinishDate

public Date getFinishDate()

setFinishDate

public void setFinishDate(Date finishDate)

getLatestDate

public Date getLatestDate()

setLatestDate

public void setLatestDate(Date latestDate)

getPercentOfParent

public double getPercentOfParent()

setPercentOfParent

public void setPercentOfParent(double percentOfParent)

Synergy Home Page