|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.WBSComponent
public class WBSComponent
Represents a component in the Work Breakdown Structure. A WBS component can contain multiple sub-components but may have only one parent component. Each component has a name and a code. NOTE: WBS methods in API will change before release of Version 1.0 of library.
| Field Summary | |
|---|---|
static int |
MIN_CODE
|
static int |
MIN_TOP_LEVEL_CODE
|
| Constructor Summary | |
|---|---|
WBSComponent()
|
|
| Method Summary | |
|---|---|
boolean |
addNodeID(int inNodeID)
Add the ID of a schedule node to this component. |
WBSComponent |
clone()
|
java.util.Set<java.lang.Integer> |
getAllNodeIDs()
Get all the schedule nodes that are associated with this component. |
java.lang.String |
getCanonicalCode()
Get the long-winded code for this component. |
java.util.List<java.lang.Integer> |
getChildComponentIDs()
Retrieve a list of the IDs of the immediate child components of this WBS component. |
java.lang.Integer |
getCode()
Get the code of this WBS Component. |
java.lang.Integer |
getID()
Get the ID of this component. |
java.lang.String |
getName()
Get the name of this component. |
java.lang.Integer |
getParentID()
Get the ID of the parent component of this component. |
java.lang.Integer |
getProjectID()
Get the ID of the Project this WBS component belongs to. |
boolean |
removeNodeID(int inNodeID)
Removes the ID of a schedule node from being associated with this component. |
boolean |
setCode(int inCode)
Set the Code of this component. |
boolean |
setID(int inID)
Set the ID of this component. |
boolean |
setName(java.lang.String inName)
Set the name of this component. |
boolean |
setParentID(java.lang.Integer inParentID)
Set the ID of the parent component of this component. |
boolean |
setProjectID(int inProjectID)
Set the project ID for this component. |
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 MIN_CODE
public static final int MIN_TOP_LEVEL_CODE
| Constructor Detail |
|---|
public WBSComponent()
| Method Detail |
|---|
public final boolean addNodeID(int inNodeID)
inNodeID - ID of a schedule node.
public WBSComponent clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic final java.util.Set<java.lang.Integer> getAllNodeIDs()
public java.lang.String getCanonicalCode()
public java.util.List<java.lang.Integer> getChildComponentIDs()
public java.lang.Integer getCode()
public java.lang.Integer getID()
public java.lang.String getName()
public java.lang.Integer getParentID()
public java.lang.Integer getProjectID()
public final boolean removeNodeID(int inNodeID)
inNodeID - ID of the schedule node to be removed.
public boolean setCode(int inCode)
inCode - New ID of the component. Must be a positive integer.
public boolean setID(int inID)
inID - New ID of the component.
public boolean setName(java.lang.String inName)
inName - Name of the WBS component. Cannot be null and its length must equal or
exceed PEngineConstants.MINIMUM_NAME_LENTH.
public boolean setParentID(java.lang.Integer inParentID)
inParentID - Unique ID of the parent or null if it
has no parent component.
public boolean setProjectID(int inProjectID)
inProjectID - ID of the parent project.
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 | ||||||||