|
|||||||||||
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.WfActivity
wt.workflow.work.WfAssignedActivity
wt.projmgmt.execution.ProjectActivity
Returns the associated Deliverable
. The
associated deliverable is not null if the "link deliverables" option
is selected and a deliverable was linked to the activity.
Use the newProjectActivity
static factory method(s), not
the ProjectActivity
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
Fields inherited from class wt.workflow.work.WfAssignedActivity |
INSTRUCTIONS, INSTRUCTIONS_VARIABLE_NAME |
Fields inherited from class wt.workflow.engine.WfActivity |
INPUT_VARIABLE_MAP, OUTPUT_VARIABLE_MAP, ROUTER_TYPE, TRIP_COUNT, USER_EVENT_LIST |
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.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.projmgmt.execution.ProjectNode |
ID, IN_CONNECTOR_REF, PLAN_REFERENCE |
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.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.workflow.engine.WfNode |
PARENT_PROCESS_REF |
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 | |
ProjectActivity()
|
Method Summary | |
void |
addAssignee(WTPrincipalReference principal_ref)
Adds an assignee passed as argument to a project activity. |
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 object given a transition as argument. |
WfExecutionObject |
changeState(WfTransition transition,
boolean propagate)
Change the workflow state of the object given a transition as argument. |
WfExecutionObject |
changeState(WfTransition transition,
boolean immediate,
boolean propagate)
Change the workflow state of the object given a transition as argument. |
int |
compareTo(Object arg0)
Compares this object with the specified object for order. |
protected void |
computeDeadline(long time)
Overrides WfActivity 's method fo same
name. |
protected ProjectAssignment |
createProjectAssignment()
|
WfTemplateObject |
createTemplateObject()
Creates a project activity template given the project activity. |
protected WfAssignment |
createWfAssignment(WfAssignee assignee)
Creates and returns a ProjectAssignment. |
protected void |
createWorkAssignment()
Overrides WfAssignedActivity.createWorkAssignment to check if there are assignments created. |
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 |
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. |
Enumeration |
getDefaultParticipants()
Returns default participant of an activity, namely, its owner. |
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. |
int |
getId()
Gets the value of the attribute: ID. |
private String |
getIdString(Object obj)
|
WfConnector |
getInConnector()
Supported API: false |
ObjectReference |
getInConnectorRef()
Gets the value of the attribute: IN_CONNECTOR_REF. |
IndexerSet |
getIndexerSet()
Gets the value of the attribute: INDEXER_SET. |
Timestamp |
getInheritedDeadline()
Gets the value of the attribute: INHERITED_DEADLINE. |
Deliverable |
getLinkedDeliverable()
Returns the Deliverable linked to the
activity. |
String |
getName()
Returns name of the object. |
private ObjectIdentifier |
getOid(Object obj)
|
Ownership |
getOwnership()
Gets the object for the association that plays role: OWNERSHIP. |
int |
getPercentComplete()
Gets the value of the attribute: PERCENT_COMPLETE. |
Work |
getPerformedWork()
Gets the value of the attribute: PERFORMED_WORK. |
ProjectPlan |
getPlan()
Gets the object for the association that plays role: PLAN. |
ObjectReference |
getPlanReference()
Gets the value of the attribute: PLAN_REFERENCE. |
QueryResult |
getPredecessors()
Returns object's Predecessors (calculated cached value) Supported API: false |
ProjectCategory |
getProjectCategory()
Gets the value of the attribute: PROJECT_CATEGORY. |
String |
getRiskDescription()
Gets the value of the attribute: RISK_DESCRIPTION. |
ProjectRiskValue |
getRiskValue()
Gets the value of the attribute: RISK_VALUE. |
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(WfContainer container)
Supported API: false |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
static ProjectActivity |
newProjectActivity(WfContainer container)
ProjectActivity constructor. |
private void |
planReferenceValidate(ObjectReference a_PlanReference)
|
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(ProjectActivity thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
removeAssignee(WTPrincipalReference principal_ref)
Removes an assignee passed as argument from a project activity. |
void |
setAfterDeadline(TimeToElapse a_AfterDeadline)
Sets the value of the attribute: AFTER_DEADLINE. |
void |
setAssignees()
Set initial assignees for a running activity. |
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 |
setContext(ProcessData vars)
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 |
setId(int a_Id)
Sets the value of the attribute: ID. |
void |
setInConnectorRef(ObjectReference a_InConnectorRef)
Sets the value of the attribute: IN_CONNECTOR_REF. |
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. |
void |
setName(String name)
Sets name of the object. |
void |
setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. |
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 |
setPlan(ProjectPlan a_Plan)
Sets the object for the association that plays role: PLAN. |
void |
setPlanReference(ObjectReference a_PlanReference)
Sets the value of the attribute: PLAN_REFERENCE. |
void |
setPredecessors(QueryResult a_result)
sets object's Predecessors (calculated cached value) Supported API: false |
void |
setProjectCategory(ProjectCategory a_ProjectCategory)
Sets the value of the attribute: PROJECT_CATEGORY. |
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 |
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. |
String |
toString()
Produces string representatin of the activity. |
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.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.workflow.engine.WfNode |
getParentProcessRef, getTemplateReference, setParentProcessRef |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ObjectReference inConnectorRef
private int id
public static final String PLAN
private ObjectReference planReference
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 Ownership ownership
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 long R60_EXTERNALIZATION_VERSION_UID
private static final boolean VERBOSE
private Deliverable linkedDeliverable
protected QueryResult predecessors
protected QueryResult successors
protected TimeToElapse duration
protected QueryResult containedNodes
protected Timestamp estimatedFinish
protected Double totalCost
protected Double currentCost
Constructor Detail |
public ProjectActivity()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WfAssignedActivity
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WfAssignedActivity
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProjectActivity 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 WfAssignedActivity
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 WfAssignedActivity
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class WfAssignedActivity
public void addAssignee(WTPrincipalReference principal_ref) throws WTException
principal_ref
-
WTException
public WfExecutionObject changeState(WfTransition transition) throws WTException
changeState
in class WfActivity
transition
-
WTException
public WfExecutionObject changeState(WfTransition transition, boolean propagate) throws WTException
changeState
in class WfActivity
transition
- propagate
-
WTException
public WfExecutionObject changeState(WfTransition transition, boolean immediate, boolean propagate) throws WTException
changeState
in class WfActivity
transition
- immediate
- propagate
-
WTException
protected void computeDeadline(long time) throws WTException
WfActivity
's method fo same
name.
computeDeadline
in class WfActivity
time
-
WTException
public WfTemplateObject createTemplateObject() throws WTException
WTException
protected WfAssignment createWfAssignment(WfAssignee assignee) throws WTException
createWfAssignment
in class WfAssignedActivity
assignee
-
WTException
public ProcessData getContext()
getContext
in class WfExecutionObject
public Enumeration getDefaultParticipants() throws WTException
WfAssignedActivity
)
returns.
getDefaultParticipants
in class WfAssignedActivity
WTException
public Deliverable getLinkedDeliverable() throws WTException
Deliverable
linked to the
activity. The value is only null is the "link deliverables" option
is selected and a deliverable was linked to the activity.
WTException
public static ProjectActivity newProjectActivity(WfContainer container) throws WTException
container
-
WTException
public void removeAssignee(WTPrincipalReference principal_ref) throws WTException
principal_ref
-
WTException
public void setAssignees() throws WTException
WTException
public void setContext(ProcessData vars)
setContext
in class WfExecutionObject
vars
- public String toString()
toString
in class WfAssignedActivity
public ObjectReference getInConnectorRef()
getInConnectorRef
in interface ProjectNode
WfConnector
public void setInConnectorRef(ObjectReference a_InConnectorRef)
setInConnectorRef
in interface ProjectNode
a_InConnectorRef
- WfConnector
public int getId()
getId
in interface ProjectNode
public void setId(int a_Id)
setId
in interface ProjectNode
a_Id
- public WfConnector getInConnector()
getInConnector
in interface ProjectNode
public int compareTo(Object arg0)
compareTo
in interface ProjectNode
arg0
-
public ProjectPlan getPlan()
getPlan
in interface ProjectNode
public void setPlan(ProjectPlan a_Plan) throws WTPropertyVetoException, WTException
setPlan
in interface ProjectNode
a_Plan
-
WTPropertyVetoException
WTException
public ObjectReference getPlanReference()
getPlanReference
in interface ProjectNode
public void setPlanReference(ObjectReference a_PlanReference) throws WTPropertyVetoException
setPlanReference
in interface ProjectNode
a_PlanReference
-
WTPropertyVetoException
private void planReferenceValidate(ObjectReference a_PlanReference) throws WTPropertyVetoException
a_PlanReference
-
WTPropertyVetoException
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 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 Ownership getOwnership()
getOwnership
in interface Ownable
public void setOwnership(Ownership a_Ownership)
setOwnership
in interface Ownable
a_Ownership
- 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 WfAssignedActivity
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 WfAssignedActivity
protected void createWorkAssignment() throws WfException
createWorkAssignment
in class WfAssignedActivity
WfException
protected ProjectAssignment createProjectAssignment() throws WfException
WfException
protected void initialize(WfContainer container) throws WTException
WfActivity
initialize
in class WfActivity
container
-
WTException
private ObjectIdentifier getOid(Object obj)
private String getIdString(Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |