|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.Work
public class Work
Represents the effort which was or will be expended by a resource towards the completion of an activity. Each unit of work is associated with a single activity and a single resource.
| Field Summary | |
|---|---|
static java.util.Comparator<Work> |
START_DATE_COMPARATOR
Sort Work objects by their start date. |
| Constructor Summary | |
|---|---|
Work()
|
|
| Method Summary | |
|---|---|
Work |
clone()
|
java.lang.Integer |
getActivityID()
Retrieve the ID of the associated activity. |
int |
getEffort()
Get the effort that was/will be contributed by this Work. |
java.lang.Integer |
getProjectID()
Retrieve the ID of the parent project. |
java.lang.Integer |
getResourceID()
Retrieve the ID of the parent resource. |
java.util.Date |
getStartDate()
Retrieve the date and time the Work did/will start at. |
boolean |
setActivityID(int inID)
Store the ID of the parent activity. |
boolean |
setEffort(int inEffort)
Set the effort which the Work will contribute towards an activity. |
boolean |
setProjectID(int inID)
Store the ID of the parent Project. |
boolean |
setResourceID(int inID)
Store the ID of the parent resource. |
boolean |
setStartDate(java.util.Date inDate)
Set the date and time at which the work starts. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Comparator<Work> START_DATE_COMPARATOR
| Constructor Detail |
|---|
public Work()
| Method Detail |
|---|
public Work clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.Integer getActivityID()
public int getEffort()
public java.lang.Integer getProjectID()
public java.lang.Integer getResourceID()
public java.util.Date getStartDate()
public boolean setActivityID(int inID)
public boolean setEffort(int inEffort)
inEffort - Effort in minutes.
public boolean setProjectID(int inID)
public boolean setResourceID(int inID)
public boolean setStartDate(java.util.Date inDate)
inDate - Starting date and time of the Work.
setEffort(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||