|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.workflow.engine.WfExecutionObject
wt.workflow.engine.WfContainer
wt.workflow.engine.WfProcess
wt.projmgmt.execution.ProjectPlan
The ProjectPlan
class represents a container for activities,
resources, deliverables and their relationships that are involved in
the execution of a project.
Use the newProjectPlan
static factory method(s), not the
ProjectPlan
constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
ProjectActivity
,
SummaryActivity
,
Deliverable
,
ProjectResource
,
Serialized FormFields inherited from class wt.workflow.engine.WfProcess |
BUSINESS_OBJ_REFERENCE, CREATOR, PROJECT_REF, PROPAGATION_QUEUE_REFERENCE, TEAM_ID, USER_WORK_QUEUE_REFERENCE |
Fields inherited from class wt.workflow.engine.WfContainer |
REQUESTER_REF |
Fields inherited from class wt.workflow.engine.WfExecutionObject |
AD_SQEN, ALERT_TIME, CHANGE_STATE_TIME, CONTAINER, CONTEXT, D_SQEN, DEADLINE, DEADLINE_DURATION, DESCRIPTION, END_TIME, EVENT_CONFIGURATION, EXCEPTION_MESSAGE, KEY, NAME, PD_SQEN, PRIORITY, START_TIME, STATE, SUSPEND_TIME, TEMPLATE, TIME_PAST_DEADLINE, TIME_TO_DEADLINE, TIME_TO_START |
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.projmgmt.execution.ExecutionObject |
AFTER_DEADLINE, BEFORE_DEADLINE, CONFIGURATION, CURRENT_WORK_COST, ENABLED, ESTIMATED_FINISH_DATE, HEALTH_STATUS, INHERITED_DEADLINE, PERCENT_COMPLETE, PERFORMED_WORK, PROJECT_CATEGORY, RISK_DESCRIPTION, RISK_VALUE, STATUS_DESCRIPTION, TOTAL_WORK, TOTAL_WORK_COST |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.inf.container.WTContained |
CONTAINER, CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.index.Indexable |
INDEXER_SET |
Fields inherited from interface wt.project.RoleHolder |
ROLE_PRINCIPAL_MAP |
Fields inherited from interface wt.content.ContentHolder |
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION |
Fields inherited from interface wt.team.TeamManaged |
TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAME |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ProjectPlan()
|
Method Summary | |
protected WfProcess |
changeProcessFolder(WfProcess process,
WfTransition transition)
Does nothing: overrides WfProcess.changeProcessFolder. |
ExecutionObject |
changeState(ProjectState new_state)
Changes the state of the execution object to the workflow state that corresponds to the project state passed as argument. |
WfExecutionObject |
changeState(WfTransition transition)
Change the workflow state of the project plan given a transition as argument. |
WfExecutionObject |
changeState(WfTransition transition,
boolean immediate)
Change the workflow state of the object given a transition as argument. |
WfTemplateObject |
createTemplateObject()
Returns template object of type ProjectPlanTemplate
derived from the project plan. |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
TimeToElapse |
getAfterDeadline()
Gets the value of the attribute: AFTER_DEADLINE. |
TimeToElapse |
getBeforeDeadline()
Gets the value of the attribute: BEFORE_DEADLINE. |
String |
getConceptualClassname()
Deprecated. |
ExecutionConfiguration |
getConfiguration()
Gets the value of the attribute: CONFIGURATION. |
QueryResult |
getContainedNodes()
Returns object's ContainedNodes (calculated cached value) Supported API: false |
private WTContainerRef |
getContainerRef(ObjectReference obj_ref)
|
ProcessData |
getContext()
Supported API: false |
Double |
getCurrentCost()
Returns object's current cost. |
Currency |
getCurrentWorkCost()
Gets the value of the attribute: CURRENT_WORK_COST. |
Timestamp |
getDeadline()
Returns object's deadline. |
String |
getDescription()
Returns object description. |
TimeToElapse |
getDuration()
Returns object's Duration. |
Timestamp |
getEndTime()
Returns time execution of object finished. |
Timestamp |
getEstimatedFinish()
Returns object's estimated finish. |
Timestamp |
getEstimatedFinishDate()
Gets the value of the attribute: ESTIMATED_FINISH_DATE. |
ProjectState |
getExecutionState()
Returns project execution state that corresponds to internal object's workflow state. |
Timestamp |
getFinishDate(TimeToElapse days)
Returns estimated finish date for the object given the duration given in TimeToElapse . |
ProjectHealthStatus |
getHealthStatus()
Gets the value of the attribute: HEALTH_STATUS. |
IndexerSet |
getIndexerSet()
Gets the value of the attribute: INDEXER_SET. |
Timestamp |
getInheritedDeadline()
Gets the value of the attribute: INHERITED_DEADLINE. |
protected Folder |
getInitialFolder()
Returns initial process folder. |
WTPrincipalReference |
getManagerRef()
Gets the value of the attribute: MANAGER_REF. |
Enumeration |
getManagers()
Returns an enumeration of users that act as managers of the project plan. |
String |
getName()
Returns name of the object. |
private ObjectIdentifier |
getOid(Object obj)
|
int |
getPercentComplete()
Gets the value of the attribute: PERCENT_COMPLETE. |
Work |
getPerformedWork()
Gets the value of the attribute: PERFORMED_WORK. |
ProjectPhase |
getPhase()
Gets the value of the attribute: PHASE. |
ProjectPlan |
getPlan()
Retuns the project plan to which the execuiton object belongs. |
QueryResult |
getPredecessors()
Returns object's Predecessors (calculated cached value) Supported API: false |
protected Vector |
getPrincipalsForRole(Role role)
Returns principal given a role. |
Project2 |
getProject()
Gets the object for the association that plays role: PROJECT. |
ProjectCategory |
getProjectCategory()
Gets the value of the attribute: PROJECT_CATEGORY. |
ObjectReference |
getProjectReference()
Gets the value of the attribute: PROJECT_REFERENCE. |
String |
getRiskDescription()
Gets the value of the attribute: RISK_DESCRIPTION. |
ProjectRiskValue |
getRiskValue()
Gets the value of the attribute: RISK_VALUE. |
String |
getScope()
Gets the value of the attribute: SCOPE. |
Timestamp |
getStartTime()
Returns time execution of object started. |
String |
getStatusDescription()
Gets the value of the attribute: STATUS_DESCRIPTION. |
QueryResult |
getSuccessors()
Returns object's successors. |
WfTemplateObject |
getTemplateObject()
Returns template to which the execution object is associated. |
Double |
getTotalCost()
Returns object's total cost. |
Work |
getTotalWork()
Gets the value of the attribute: TOTAL_WORK. |
Currency |
getTotalWorkCost()
Gets the value of the attribute: TOTAL_WORK_COST. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(Project2 project)
Supports initialization, following construction of an instance. |
protected void |
initialize(WTContainerRef context_ref)
Supports initialization, following construction of an instance. |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
private void |
managerRefValidate(WTPrincipalReference a_ManagerRef)
|
static ProjectPlan |
newProjectPlan(Project2 project)
ProjectPlan constructor. |
static ProjectPlan |
newProjectPlan(WTContainerRef context_ref)
ProjectPlan constructor to be used for stand-alone plans. |
private void |
projectReferenceValidate(ObjectReference a_ProjectReference)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ProjectPlan thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
resumeContainedActivities()
Overrides WfContainer.resumeContainedActivities() to add project management specific behavior. |
private void |
scopeValidate(String a_Scope)
|
void |
setAfterDeadline(TimeToElapse a_AfterDeadline)
Sets the value of the attribute: AFTER_DEADLINE. |
void |
setBeforeDeadline(TimeToElapse a_BeforeDeadline)
Sets the value of the attribute: BEFORE_DEADLINE. |
void |
setConfiguration(ExecutionConfiguration a_Configuration)
Sets the value of the attribute: CONFIGURATION. |
void |
setContainedNodes(QueryResult a_result)
sets object's ContainedNodes (calculated cached value) Supported API: false |
void |
setCurrentCost(Double cost)
set object's current cost. |
void |
setCurrentWorkCost(Currency a_CurrentWorkCost)
Sets the value of the attribute: CURRENT_WORK_COST. |
void |
setDeadline(Timestamp time)
Sets object's deadline. |
void |
setDescription(String desc)
Sets object description. |
void |
setDuration(TimeToElapse a_time)
set object's Duration. |
void |
setEnabled(boolean a_Enabled)
Sets the value of the attribute: ENABLED. |
void |
setEndTime(Timestamp time)
Sets the time the execution of object finished. |
void |
setEstimatedFinish(Timestamp a_time)
set object's estimated finish. |
void |
setEstimatedFinishDate(Timestamp a_EstimatedFinishDate)
Sets the value of the attribute: ESTIMATED_FINISH_DATE. |
void |
setExecutionState(ProjectState state)
Setsinternal object's workflow state that corresponds to project execution state passed as argument. |
void |
setHealthStatus(ProjectHealthStatus a_HealthStatus)
Sets the value of the attribute: HEALTH_STATUS. |
void |
setIndexerSet(IndexerSet a_IndexerSet)
Sets the value of the attribute: INDEXER_SET. |
void |
setInheritedDeadline(Timestamp a_InheritedDeadline)
Sets the value of the attribute: INHERITED_DEADLINE. |
private void |
setInitialAttributes(ObjectReference project_ref)
For stand-alone plans, project_ref is null. |
void |
setManagerRef(WTPrincipalReference a_ManagerRef)
Sets the value of the attribute: MANAGER_REF. |
void |
setName(String name)
Sets name of the object. |
void |
setPercentComplete(int a_PercentComplete)
Sets the value of the attribute: PERCENT_COMPLETE. |
void |
setPerformedWork(Work a_PerformedWork)
Sets the value of the attribute: PERFORMED_WORK. |
void |
setPhase(ProjectPhase a_Phase)
Sets the value of the attribute: PHASE. |
void |
setPredecessors(QueryResult a_result)
sets object's Predecessors (calculated cached value) Supported API: false |
void |
setProject(Project2 a_Project)
Sets the object for the association that plays role: PROJECT. |
void |
setProjectCategory(ProjectCategory a_ProjectCategory)
Sets the value of the attribute: PROJECT_CATEGORY. |
void |
setProjectReference(ObjectReference a_ProjectReference)
Sets the value of the attribute: PROJECT_REFERENCE. |
void |
setRiskDescription(String a_RiskDescription)
Sets the value of the attribute: RISK_DESCRIPTION. |
void |
setRiskValue(ProjectRiskValue a_RiskValue)
Sets the value of the attribute: RISK_VALUE. |
void |
setScope(String a_Scope)
Sets the value of the attribute: SCOPE. |
void |
setStartTime(Timestamp time)
Sets the s time execution of object started. |
void |
setStatusDescription(String a_StatusDescription)
Sets the value of the attribute: STATUS_DESCRIPTION. |
void |
setSuccessors(QueryResult a_result)
sets object's successors. |
void |
setTotalCost(Double cost)
set object's total cost. |
void |
setTotalWork(Work a_TotalWork)
Sets the value of the attribute: TOTAL_WORK. |
void |
setTotalWorkCost(Currency a_TotalWorkCost)
Sets the value of the attribute: TOTAL_WORK_COST. |
private boolean |
shouldStart(ProjectNode node)
Returns whether a defined node in a suspended plan should start when the plan is restarted. |
private void |
suspendCancelledNodes(ProjectPlan plan)
|
String |
toString()
Returns a string representtaion of the project plan. |
void |
updateDeadline(Timestamp start)
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.workflow.engine.WfContainer |
abortContainedActivities, getContainerNodes, getRequester, getRequesterRef, getStartConnector, readVersion, resetContainedActivities, sendEventToRequester, setRequesterRef, suspendContainedActivities, terminateContainedActivities |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Methods inherited from interface wt.notify.Notifiable |
getEventSet, setEventSet |
Methods inherited from interface wt.inf.container.WTContained |
getContainer, getContainerName, getContainerReference, setContainer, setContainerReference |
Methods inherited from interface wt.ownership.Ownable |
getOwnership, setOwnership |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String MANAGER_REF
WTPrincipalReference
,
Project2
,
Constant Field Valuesprivate WTPrincipalReference managerRef
public static final String PHASE
ProjectPhase
,
Project2
,
Constant Field Valuesprivate static int PHASE_UPPER_LIMIT
private ProjectPhase phase
public static final String SCOPE
Project2
,
Constant Field Valuesprivate static int SCOPE_UPPER_LIMIT
private String scope
public static final String PROJECT
public static final String PROJECT_REFERENCE
private ObjectReference projectReference
private TimeToElapse afterDeadline
private TimeToElapse beforeDeadline
private ExecutionConfiguration configuration
private Currency currentWorkCost
private boolean enabled
private Timestamp estimatedFinishDate
private static int HEALTH_STATUS_UPPER_LIMIT
private ProjectHealthStatus healthStatus
private Timestamp inheritedDeadline
private int percentComplete
private Work performedWork
private static int PROJECT_CATEGORY_UPPER_LIMIT
private ProjectCategory projectCategory
private static int RISK_DESCRIPTION_UPPER_LIMIT
private String riskDescription
private static int RISK_VALUE_UPPER_LIMIT
private ProjectRiskValue riskValue
private static int STATUS_DESCRIPTION_UPPER_LIMIT
private String statusDescription
private Work totalWork
private Currency totalWorkCost
private IndexerSet indexerSet
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean USE_QUEUE
private static final boolean VERBOSE
private static final boolean DELETE_QUEUE_WHEN_CLOSING
protected Timestamp estimatedFinish
protected QueryResult predecessors
protected QueryResult successors
protected TimeToElapse duration
protected QueryResult containedNodes
protected Double totalCost
protected Double currentCost
Constructor Detail |
public ProjectPlan()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WfProcess
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WfProcess
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProjectPlan thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class WfProcess
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class WfProcess
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class WfProcess
public WTPrincipalReference getManagerRef()
WTPrincipalReference
,
Project2
public void setManagerRef(WTPrincipalReference a_ManagerRef) throws WTPropertyVetoException
a_ManagerRef
-
WTPropertyVetoException
WTPrincipalReference
,
Project2
private void managerRefValidate(WTPrincipalReference a_ManagerRef) throws WTPropertyVetoException
a_ManagerRef
-
WTPropertyVetoException
public ProjectPhase getPhase()
ProjectPhase
,
Project2
public void setPhase(ProjectPhase a_Phase) throws WTPropertyVetoException
a_Phase
-
WTPropertyVetoException
ProjectPhase
,
Project2
public String getScope()
Project2
public void setScope(String a_Scope) throws WTPropertyVetoException
a_Scope
-
WTPropertyVetoException
Project2
private void scopeValidate(String a_Scope) throws WTPropertyVetoException
a_Scope
-
WTPropertyVetoException
public Project2 getProject()
public void setProject(Project2 a_Project) throws WTPropertyVetoException, WTException
a_Project
-
WTPropertyVetoException
WTException
public ObjectReference getProjectReference()
public void setProjectReference(ObjectReference a_ProjectReference) throws WTPropertyVetoException
a_ProjectReference
-
WTPropertyVetoException
private void projectReferenceValidate(ObjectReference a_ProjectReference) throws WTPropertyVetoException
a_ProjectReference
-
WTPropertyVetoException
public WfExecutionObject changeState(WfTransition transition) throws WTException
changeState
in class WfProcess
transition
-
WTException
public WfExecutionObject changeState(WfTransition transition, boolean immediate) throws WTException
changeState
in class WfProcess
transition
- immediate
-
WTException
public WfTemplateObject createTemplateObject() throws WTException
ProjectPlanTemplate
derived from the project plan.
WTException
public ProcessData getContext()
getContext
in class WfExecutionObject
public Enumeration getManagers() throws WTException
WTException
Project2
public static ProjectPlan newProjectPlan(Project2 project) throws WTException
WTContainerRef
as argument.
project
-
WTException
Project2
protected void initialize(Project2 project) throws WTException
project
-
WTException
public static ProjectPlan newProjectPlan(WTContainerRef context_ref) throws WTException
context_ref
-
WTException
WTContainerRef
protected void initialize(WTContainerRef context_ref) throws WTException
initialize
in class WfProcess
context_ref
-
WTException
public String toString()
toString
in class WfProcess
public TimeToElapse getAfterDeadline()
getAfterDeadline
in interface ExecutionObject
public void setAfterDeadline(TimeToElapse a_AfterDeadline)
setAfterDeadline
in interface ExecutionObject
a_AfterDeadline
- public TimeToElapse getBeforeDeadline()
getBeforeDeadline
in interface ExecutionObject
public void setBeforeDeadline(TimeToElapse a_BeforeDeadline)
setBeforeDeadline
in interface ExecutionObject
a_BeforeDeadline
- public ExecutionConfiguration getConfiguration()
getConfiguration
in interface ExecutionObject
public void setConfiguration(ExecutionConfiguration a_Configuration)
setConfiguration
in interface ExecutionObject
a_Configuration
- public Currency getCurrentWorkCost()
getCurrentWorkCost
in interface ExecutionObject
public void setCurrentWorkCost(Currency a_CurrentWorkCost)
setCurrentWorkCost
in interface ExecutionObject
a_CurrentWorkCost
- public boolean isEnabled()
isEnabled
in interface ExecutionObject
public void setEnabled(boolean a_Enabled)
setEnabled
in interface ExecutionObject
a_Enabled
- public Timestamp getEstimatedFinishDate()
getEstimatedFinishDate
in interface ExecutionObject
public void setEstimatedFinishDate(Timestamp a_EstimatedFinishDate)
setEstimatedFinishDate
in interface ExecutionObject
a_EstimatedFinishDate
- public ProjectHealthStatus getHealthStatus()
getHealthStatus
in interface ExecutionObject
ProjectHealthStatus
public void setHealthStatus(ProjectHealthStatus a_HealthStatus)
setHealthStatus
in interface ExecutionObject
a_HealthStatus
- ProjectHealthStatus
public Timestamp getInheritedDeadline()
getInheritedDeadline
in interface ExecutionObject
public void setInheritedDeadline(Timestamp a_InheritedDeadline)
setInheritedDeadline
in interface ExecutionObject
a_InheritedDeadline
- public int getPercentComplete()
getPercentComplete
in interface ExecutionObject
public void setPercentComplete(int a_PercentComplete)
setPercentComplete
in interface ExecutionObject
a_PercentComplete
- public Work getPerformedWork()
performedWork <= totalWork percentComplete = (performedWork / totalWork) * 100
getPerformedWork
in interface ExecutionObject
public void setPerformedWork(Work a_PerformedWork)
performedWork <= totalWork percentComplete = (performedWork / totalWork) * 100
setPerformedWork
in interface ExecutionObject
a_PerformedWork
- public ProjectCategory getProjectCategory()
getProjectCategory
in interface ExecutionObject
public void setProjectCategory(ProjectCategory a_ProjectCategory)
setProjectCategory
in interface ExecutionObject
a_ProjectCategory
- public String getRiskDescription()
getRiskDescription
in interface ExecutionObject
public void setRiskDescription(String a_RiskDescription)
setRiskDescription
in interface ExecutionObject
a_RiskDescription
- public ProjectRiskValue getRiskValue()
getRiskValue
in interface ExecutionObject
ProjectRiskValue
public void setRiskValue(ProjectRiskValue a_RiskValue)
setRiskValue
in interface ExecutionObject
a_RiskValue
- ProjectRiskValue
public String getStatusDescription()
getStatusDescription
in interface ExecutionObject
public void setStatusDescription(String a_StatusDescription)
setStatusDescription
in interface ExecutionObject
a_StatusDescription
- public Work getTotalWork()
performedWork <= totalWork percentComplete = (performedWork / totalWork) * 100
getTotalWork
in interface ExecutionObject
public void setTotalWork(Work a_TotalWork)
performedWork <= totalWork percentComplete = (performedWork / totalWork) * 100
setTotalWork
in interface ExecutionObject
a_TotalWork
- public Currency getTotalWorkCost()
getTotalWorkCost
in interface ExecutionObject
public void setTotalWorkCost(Currency a_TotalWorkCost)
setTotalWorkCost
in interface ExecutionObject
a_TotalWorkCost
- public ExecutionObject changeState(ProjectState new_state) throws WTException
changeState
in interface ExecutionObject
new_state
-
WTException
public QueryResult getContainedNodes()
getContainedNodes
in interface ExecutionObject
public Double getCurrentCost()
getCurrentCost
in interface ExecutionObject
public Timestamp getDeadline()
getDeadline
in interface ExecutionObject
getDeadline
in class WfExecutionObject
public String getDescription()
getDescription
in interface ExecutionObject
getDescription
in class WfExecutionObject
public TimeToElapse getDuration() throws WTException
getDuration
in interface ExecutionObject
WTException
public Timestamp getEndTime()
getEndTime
in interface ExecutionObject
getEndTime
in class WfExecutionObject
public Timestamp getEstimatedFinish()
getEstimatedFinish
in interface ExecutionObject
public ProjectState getExecutionState()
getExecutionState
in interface ExecutionObject
public Timestamp getFinishDate(TimeToElapse days) throws WTException
TimeToElapse
. Takes into account the
calendar and the start time. Returns null if object hasn't started
yet.
getFinishDate
in interface ExecutionObject
days
-
WTException
public String getName()
getName
in interface ExecutionObject
getName
in class WfExecutionObject
public ProjectPlan getPlan() throws WTException
getPlan
in interface ExecutionObject
WTException
public QueryResult getPredecessors()
getPredecessors
in interface ExecutionObject
public Timestamp getStartTime()
getStartTime
in interface ExecutionObject
getStartTime
in class WfExecutionObject
public QueryResult getSuccessors()
getSuccessors
in interface ExecutionObject
public WfTemplateObject getTemplateObject() throws WTException
getTemplateObject
in interface ExecutionObject
WTException
public Double getTotalCost()
getTotalCost
in interface ExecutionObject
public void setContainedNodes(QueryResult a_result)
setContainedNodes
in interface ExecutionObject
a_result
- public void setCurrentCost(Double cost)
setCurrentCost
in interface ExecutionObject
cost
- public void setDeadline(Timestamp time)
setDeadline
in interface ExecutionObject
setDeadline
in class WfExecutionObject
time
- public void setDescription(String desc)
setDescription
in interface ExecutionObject
setDescription
in class WfExecutionObject
desc
- public void setDuration(TimeToElapse a_time)
setDuration
in interface ExecutionObject
a_time
- public void setEndTime(Timestamp time)
setEndTime
in interface ExecutionObject
setEndTime
in class WfExecutionObject
time
- public void setEstimatedFinish(Timestamp a_time)
setEstimatedFinish
in interface ExecutionObject
a_time
- public void setExecutionState(ProjectState state)
setExecutionState
in interface ExecutionObject
state
- public void setName(String name)
setName
in interface ExecutionObject
setName
in class WfExecutionObject
name
- public void setPredecessors(QueryResult a_result)
setPredecessors
in interface ExecutionObject
a_result
- public void setStartTime(Timestamp time)
setStartTime
in interface ExecutionObject
setStartTime
in class WfExecutionObject
time
- public void setSuccessors(QueryResult a_result)
setSuccessors
in interface ExecutionObject
a_result
- public void setTotalCost(Double cost)
setTotalCost
in interface ExecutionObject
cost
- public void updateDeadline(Timestamp start)
updateDeadline
in interface ExecutionObject
start
- public IndexerSet getIndexerSet()
getIndexerSet
in interface Indexable
public void setIndexerSet(IndexerSet a_IndexerSet)
setIndexerSet
in interface Indexable
a_IndexerSet
- public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class WfProcess
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class WfProcess
protected void resumeContainedActivities() throws WTException
resumeContainedActivities
in class WfContainer
WTException
private boolean shouldStart(ProjectNode node) throws WTException
WTException
protected WfProcess changeProcessFolder(WfProcess process, WfTransition transition) throws WTException
WTException
protected Folder getInitialFolder() throws WTException
WTException
protected Vector getPrincipalsForRole(Role role) throws WTException
getPrincipalsForRole
in class WfProcess
WTException
private void suspendCancelledNodes(ProjectPlan plan) throws WTException
WTException
private void setInitialAttributes(ObjectReference project_ref) throws WTException
WTException
private WTContainerRef getContainerRef(ObjectReference obj_ref)
private ObjectIdentifier getOid(Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |