|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.Project
public class Project
Stores the state of a project. Performs basic verification of the data but is essentially an unintelligent container with little functionality.
| Field Summary | |
|---|---|
static int |
MAX_PROJECT_PRIORITY
Maximum priority which can be assigned to any project |
static int |
MIN_PROJECT_PRIORITY
Minimum priority which can be assigned to any project |
| Constructor Summary | |
|---|---|
Project()
|
|
| Method Summary | |
|---|---|
Project |
clone()
|
java.lang.Integer |
getActiveScheduleID()
Retrieve the currently active Schedule ID. |
java.lang.Integer |
getID()
Retrieve the ID of the Project. |
java.lang.String |
getName()
Retrieve the name of the project. |
java.lang.Integer |
getPriority()
Retrieve the priority of this project. |
java.util.List<java.lang.Integer> |
getScheduleIDs()
Retrieve a list of the IDs of the schedules that make up this project. |
java.util.Date |
getStartDate()
Retrieve the start date of the project. |
TimeTable |
getTimeTable()
Retrieve the TimeTable for this project. |
boolean |
setActiveScheduleID(java.lang.Integer inID)
Set the ID of the currently active Schedule for this project. |
boolean |
setID(int inID)
Set the ID of the project. |
void |
setName(java.lang.String inName)
Store the name of the project. |
boolean |
setPriority(java.lang.Integer inPriority)
Set the priority of this project. |
void |
setStartDate(java.util.Date inDate)
Store the start date of the project. |
boolean |
setTimeTable(TimeTable inTimeTable)
Store the TimeTable for this Project. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_PROJECT_PRIORITY
public static final int MIN_PROJECT_PRIORITY
| Constructor Detail |
|---|
public Project()
| Method Detail |
|---|
public Project clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.Integer getActiveScheduleID()
public java.lang.Integer getID()
public java.lang.String getName()
public java.lang.Integer getPriority()
public java.util.List<java.lang.Integer> getScheduleIDs()
public java.util.Date getStartDate()
public TimeTable getTimeTable()
public boolean setActiveScheduleID(java.lang.Integer inID)
inID - of the active schedule or null if there is no active
schedule.
public boolean setID(int inID)
public void setName(java.lang.String inName)
inName - New name for the project. Cannot pass null.public boolean setPriority(java.lang.Integer inPriority)
inPriority - New priority for the project or null to clear the priority.public void setStartDate(java.util.Date inDate)
inDate - New start date for the project. Null can be passed to erase
the currently defined start date.public boolean setTimeTable(TimeTable inTimeTable)
inTimeTable - TimeTable for this Project. null cannot be passed.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||