|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.workflow.work.WorkItem
wt.projmgmt.execution.ProjectWorkItem
Use the newProjectWorkItem
static factory method(s), not
the ProjectWorkItem
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.WorkItem |
COMPLETED_BY, DELEGATE, DESCRIPTION, PARENT_WA, PRIMARY_BUSINESS_OBJECT, PRIORITY, REASSIGNED, REQUIRED, ROLE, SOURCE, STATUS, TASK_URLPATH_INFO, VARIABLE_PERMISSION_MAP |
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_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.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ProjectWorkItem()
|
Method Summary | |
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. |
private void |
containerReferenceValidate(WTContainerRef a_ContainerReference)
|
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 |
WTContainer |
getContainer()
Gets the object for the association that plays role: CONTAINER. |
String |
getContainerName()
Gets the value of the attribute: CONTAINER_NAME. |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE. |
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. |
AdminDomainRef |
getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF. |
TimeToElapse |
getDuration()
Returns the number of working days between the creation of the work item and the estimated finish date. |
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. |
WTStringSet |
getEventSet()
Gets the value of the attribute: EVENT_SET. |
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. |
private ObjectIdentifier |
getId(Object obj)
|
private String |
getIdString(Object obj)
|
IndexerSet |
getIndexerSet()
Gets the value of the attribute: INDEXER_SET. |
Timestamp |
getInheritedDeadline()
Gets the value of the attribute: INHERITED_DEADLINE. |
String |
getName()
Returns name of the object. |
Work |
getOvertimeWork()
Gets the value of the attribute: OVERTIME_WORK. |
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. |
Work |
getStandardWork()
Gets the value of the attribute: STANDARD_WORK. |
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 |
getTotalOvertimeWork()
Gets the value of the attribute: TOTAL_OVERTIME_WORK. |
Work |
getTotalStandardWork()
Gets the value of the attribute: TOTAL_STANDARD_WORK. |
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(ProjectPlan plan,
WTPrincipal owner)
Supports initialization, following construction of an instance. |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
boolean |
isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. |
static ProjectWorkItem |
newProjectWorkItem(ProjectPlan plan,
WTPrincipal owner)
Supported API: false |
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(ProjectWorkItem thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected ProjectWorkItem |
reset()
Resets work item attributes to initial value. |
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 |
setContainer(WTContainer a_Container)
Sets the object for the association that plays role: CONTAINER. |
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: CONTAINER_REFERENCE. |
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 |
setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF. |
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 |
setEventSet(WTStringSet a_EventSet)
Sets the value of the attribute: EVENT_SET. |
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. |
void |
setInheritedDomain(boolean a_InheritedDomain)
Sets the value of the attribute: INHERITED_DOMAIN. |
void |
setName(String name)
Sets name of the object. |
void |
setOvertimeWork(Work a_OvertimeWork)
Sets the value of the attribute: OVERTIME_WORK. |
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 |
setStandardWork(Work a_StandardWork)
Sets the value of the attribute: STANDARD_WORK. |
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 |
setTotalOvertimeWork(Work a_TotalOvertimeWork)
Sets the value of the attribute: TOTAL_OVERTIME_WORK. |
void |
setTotalStandardWork(Work a_TotalStandardWork)
Sets the value of the attribute: TOTAL_STANDARD_WORK. |
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. |
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.work.WorkItem |
getCompletedBy, getDelegate, getIdentity, getOwnership, getParentWA, getPrimaryBusinessObject, getPriority, getRole, getSource, getStatus, getTaskURLPathInfo, getVariablePermissionMap, initialize, isComplete, isReassigned, isRequired, newWorkItem, newWorkItem, newWorkItem, readVersion, setComplete, setDelegate, setOwnership, setParentWA, setPrimaryBusinessObject, setPriority, setReassigned, setRequired, setRole, setSource, setStatus, setTaskURLPathInfo, setVariablePermissionMap |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, initialize, readVersion, setPersistInfo, toString |
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.ownership.Ownable |
getOwnership, setOwnership |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String STANDARD_WORK
performedWork = standardWork + overtimeWork
private Work standardWork
public static final String TOTAL_STANDARD_WORK
totalWork = totalStandardWork + totalOvertimeWork
private Work totalStandardWork
public static final String OVERTIME_WORK
performedWork = standardWork + overtimeWork
private Work overtimeWork
public static final String TOTAL_OVERTIME_WORK
totalWork = totalStandardWork + totalOvertimeWork
private Work totalOvertimeWork
public static final String PLAN
public static final String PLAN_REFERENCE
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 WTStringSet eventSet
public static final String CONTAINER
private WTContainerRef containerReference
private IndexerSet indexerSet
private boolean inheritedDomain
private AdminDomainRef domainRef
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
protected Timestamp estimatedFinish
protected QueryResult predecessors
protected QueryResult successors
protected TimeToElapse duration
protected QueryResult containedNodes
protected Double totalCost
protected Double currentCost
Constructor Detail |
public ProjectWorkItem()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WorkItem
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WorkItem
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProjectWorkItem 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 WorkItem
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 WorkItem
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class WorkItem
public Work getStandardWork()
performedWork = standardWork + overtimeWork
public void setStandardWork(Work a_StandardWork)
performedWork = standardWork + overtimeWork
a_StandardWork
- public Work getTotalStandardWork()
totalWork = totalStandardWork + totalOvertimeWork
public void setTotalStandardWork(Work a_TotalStandardWork)
totalWork = totalStandardWork + totalOvertimeWork
a_TotalStandardWork
- public Work getOvertimeWork()
performedWork = standardWork + overtimeWork
public void setOvertimeWork(Work a_OvertimeWork)
performedWork = standardWork + overtimeWork
a_OvertimeWork
- public Work getTotalOvertimeWork()
totalWork = totalStandardWork + totalOvertimeWork
public void setTotalOvertimeWork(Work a_TotalOvertimeWork)
totalWork = totalStandardWork + totalOvertimeWork
a_TotalOvertimeWork
- public ProjectPlan getPlan()
getPlan
in interface ExecutionObject
public void setPlan(ProjectPlan a_Plan) throws WTException
a_Plan
-
WTException
public ObjectReference getPlanReference()
public void setPlanReference(ObjectReference a_PlanReference)
a_PlanReference
- public static ProjectWorkItem newProjectWorkItem(ProjectPlan plan, WTPrincipal owner) throws WTException
plan
- owner
-
WTException
protected void initialize(ProjectPlan plan, WTPrincipal owner) throws WTException
plan
- owner
-
WTException
public TimeToElapse getDuration() throws WTException
getDuration
in interface ExecutionObject
WTException
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
public String getDescription()
getDescription
in interface ExecutionObject
getDescription
in class WorkItem
public Timestamp getEndTime()
getEndTime
in interface ExecutionObject
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
public QueryResult getPredecessors()
getPredecessors
in interface ExecutionObject
public Timestamp getStartTime()
getStartTime
in interface ExecutionObject
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
time
- public void setDescription(String desc)
setDescription
in interface ExecutionObject
setDescription
in class WorkItem
desc
- public void setDuration(TimeToElapse a_time)
setDuration
in interface ExecutionObject
a_time
- public void setEndTime(Timestamp time)
setEndTime
in interface ExecutionObject
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
name
- public void setPredecessors(QueryResult a_result)
setPredecessors
in interface ExecutionObject
a_result
- public void setStartTime(Timestamp time)
setStartTime
in interface ExecutionObject
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 WTStringSet getEventSet()
getEventSet
in interface Notifiable
public void setEventSet(WTStringSet a_EventSet)
setEventSet
in interface Notifiable
a_EventSet
- public String getContainerName()
WTContainer
this object is assigned to.
getContainerName
in interface WTContained
public WTContainer getContainer()
getContainer
in interface WTContained
public void setContainer(WTContainer a_Container) throws WTPropertyVetoException, WTException
setContainer
in interface WTContained
a_Container
-
WTPropertyVetoException
WTException
public WTContainerRef getContainerReference()
getContainerReference
in interface WTContained
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
setContainerReference
in interface WTContained
a_ContainerReference
-
WTPropertyVetoException
private void containerReferenceValidate(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
a_ContainerReference
-
WTPropertyVetoException
public IndexerSet getIndexerSet()
getIndexerSet
in interface Indexable
public void setIndexerSet(IndexerSet a_IndexerSet)
setIndexerSet
in interface Indexable
a_IndexerSet
- public boolean isInheritedDomain()
isInheritedDomain
in interface DomainAdministered
public void setInheritedDomain(boolean a_InheritedDomain) throws WTPropertyVetoException
setInheritedDomain
in interface DomainAdministered
a_InheritedDomain
-
WTPropertyVetoException
public AdminDomainRef getDomainRef()
getDomainRef
in interface DomainAdministered
public void setDomainRef(AdminDomainRef a_DomainRef)
setDomainRef
in interface DomainAdministered
a_DomainRef
- 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 WorkItem
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 WorkItem
protected ProjectWorkItem reset() throws WTException
--------------------------------------------------------------- Attribute Initial Value Obs --------------------------------------------------------------- completedBy null Can't change: WI code prevents it. status POTENTIAL ---------------------------------------------------------------
WTException
private String getIdString(Object obj)
private ObjectIdentifier getId(Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |