|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.projmgmt.resource.Deliverable
The Deliverable
class represents expected output objects
from the plan or activities. A deliverable points to an information
resource that contains a reference to a Windchill object.
Use the newDeliverable
static factory method(s), not the
Deliverable
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
InformationResource
,
Serialized FormField Summary | |
private TimeToElapse |
afterDeadline
|
static String |
ATTR_VALUE_MAP
Label for the attribute; Deliverable target configuration: list of name/value pairs, where value must be also a String). |
private static int |
ATTR_VALUE_MAP_UPPER_LIMIT
|
private WTStringMap |
attrValueMap
|
private TimeToElapse |
beforeDeadline
|
private static String |
CLASSNAME
|
private ExecutionConfiguration |
configuration
|
static String |
CONTAINER
Label for the attribute. |
private WTContainerRef |
containerReference
|
private Currency |
currentWorkCost
|
private Timestamp |
deadline
|
static String |
DEADLINE
Label for the attribute; Time by which the deliverable should be completed. |
private String |
description
|
static String |
DESCRIPTION
Label for the attribute; Deliverable's description. |
private static int |
DESCRIPTION_UPPER_LIMIT
|
private TimeToElapse |
duration
|
static String |
DURATION
Label for the attribute. |
private boolean |
enabled
|
static String |
END_TIME
Label for the attribute; Time in which work finished being done in the deliverable. |
private Timestamp |
endTime
|
private Timestamp |
estimatedFinishDate
|
static String |
EVENT_LIST
Label for the attribute; List of events that trigger a checking of whether the resource reached the target configuration. |
private static int |
EVENT_LIST_UPPER_LIMIT
|
private WTStringSet |
eventList
|
private WTStringSet |
eventSet
|
static String |
EXECUTION_STATE
Label for the attribute; Project execution state. |
private static int |
EXECUTION_STATE_UPPER_LIMIT
|
private ProjectState |
executionState
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static int |
HEALTH_STATUS_UPPER_LIMIT
|
private ProjectHealthStatus |
healthStatus
|
private IndexerSet |
indexerSet
|
private Timestamp |
inheritedDeadline
|
private ProjectActivity |
linkedActivity
|
private String |
name
|
static String |
NAME
Label for the attribute; Deliverable's name. |
private static int |
NAME_UPPER_LIMIT
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Ownership |
ownership
|
private int |
percentComplete
|
private Work |
performedWork
|
static String |
PLAN
Label for the attribute. |
static String |
PLAN_REFERENCE
Label for the attribute. |
private ObjectReference |
planReference
|
private static int |
PROJECT_CATEGORY_UPPER_LIMIT
|
static String |
PROJECT_DELIVERABLE
Label for the attribute; Tells whether a deliverable is a "project deliverable." A project deliverable is a deliverable that isone of the project goals. |
private ProjectCategory |
projectCategory
|
private boolean |
projectDeliverable
|
static long |
R60_EXTERNALIZATION_VERSION_UID
|
private static String |
RESOURCE
|
static String |
RESOURCE_REF
Label for the attribute; Reference to an information resource that describes the deliverable. |
private ObjectReference |
resourceRef
|
private static int |
RISK_DESCRIPTION_UPPER_LIMIT
|
private static int |
RISK_VALUE_UPPER_LIMIT
|
private String |
riskDescription
|
private ProjectRiskValue |
riskValue
|
(package private) static long |
serialVersionUID
|
static String |
START_TIME
Label for the attribute; Time in which work started being done in the deliverable. |
private Timestamp |
startTime
|
private static int |
STATUS_DESCRIPTION_UPPER_LIMIT
|
private String |
statusDescription
|
static String |
TARGET_CONFIGURATION
Label for the attribute; Description of the state or configuration the resource must be in order for the deliverable to be considered satisfied. |
private static int |
TARGET_CONFIGURATION_UPPER_LIMIT
|
private String |
targetConfiguration
|
private Work |
totalWork
|
private Currency |
totalWorkCost
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
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 | |
Deliverable()
|
Method Summary | |
private void |
attrValueMapValidate(WTStringMap a_AttrValueMap)
|
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 |
checkValidRestart()
Throws an exception if it is not valid to restart deliverable. |
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. |
private void |
eventListValidate(WTStringSet a_EventList)
|
TimeToElapse |
getAfterDeadline()
Gets the value of the attribute: AFTER_DEADLINE. |
WTStringMap |
getAttrValueMap()
Gets the value of the attribute: ATTR_VALUE_MAP. |
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()
Gets the value of the attribute: DEADLINE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
TimeToElapse |
getDuration()
Gets the value of the attribute: DURATION. |
TimeToElapse |
getDuration1()
Returns deliverable's duration. |
Timestamp |
getEndTime()
Gets the value of the attribute: END_TIME. |
Timestamp |
getEstimatedFinish()
Returns object's estimated finish. |
Timestamp |
getEstimatedFinishDate()
Gets the value of the attribute: ESTIMATED_FINISH_DATE. |
WTStringSet |
getEventList()
Gets the value of the attribute: EVENT_LIST. |
WTStringSet |
getEventSet()
Gets the value of the attribute: EVENT_SET. |
ProjectState |
getExecutionState()
Gets the value of the attribute: EXECUTION_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)
|
IndexerSet |
getIndexerSet()
Gets the value of the attribute: INDEXER_SET. |
Timestamp |
getInheritedDeadline()
Gets the value of the attribute: INHERITED_DEADLINE. |
Timestamp |
getInitialTime()
|
ProjectActivity |
getLinkedActivity()
Returns the ProjectActivity linked to
the deliverable. |
String |
getName()
Gets the value of the attribute: NAME. |
Timestamp |
getNewFinish(Timestamp new_start,
Timestamp old_start)
Gets a new estimatedFinishDate given the new and old start dates. |
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. |
ObjectReference |
getResourceRef()
Gets the value of the attribute: RESOURCE_REF. |
String |
getRiskDescription()
Gets the value of the attribute: RISK_DESCRIPTION. |
ProjectRiskValue |
getRiskValue()
Gets the value of the attribute: RISK_VALUE. |
Timestamp |
getStartTime()
Gets the value of the attribute: START_TIME. |
State |
getState()
Returns the lifecycle state of the object that is referred to by the information resource of the deliverable. |
String |
getStatusDescription()
Gets the value of the attribute: STATUS_DESCRIPTION. |
QueryResult |
getSuccessors()
Returns object's successors. |
Persistable |
getTarget()
Returns the the object that is referred to by the information resource of the deliverable. |
String |
getTargetConfiguration()
Gets the value of the attribute: TARGET_CONFIGURATION. |
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(ProjectPlan plan)
Supports initialization, following construction of an instance. |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
boolean |
isProjectDeliverable()
Gets the value of the attribute: PROJECT_DELIVERABLE. |
static Deliverable |
newDeliverable(ProjectPlan plan)
Deliverable 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(Deliverable thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
resourceRefValidate(ObjectReference a_ResourceRef)
|
void |
setAfterDeadline(TimeToElapse a_AfterDeadline)
Sets the value of the attribute: AFTER_DEADLINE. |
void |
setAttrValueMap(WTStringMap a_AttrValueMap)
Sets the value of the attribute: ATTR_VALUE_MAP. |
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 a_Deadline)
Sets the value of the attribute: DEADLINE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setDuration(TimeToElapse a_Duration)
Sets the value of the attribute: DURATION. |
void |
setEnabled(boolean a_Enabled)
Sets the value of the attribute: ENABLED. |
void |
setEndTime(Timestamp a_EndTime)
Sets the value of the attribute: END_TIME. |
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 |
setEventList(WTStringSet a_EventList)
Sets the value of the attribute: EVENT_LIST. |
void |
setEventSet(WTStringSet a_EventSet)
Sets the value of the attribute: EVENT_SET. |
void |
setExecutionState(ProjectState a_ExecutionState)
Sets the value of the attribute: EXECUTION_STATE. |
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 |
setName(String a_Name)
Sets the value of the attribute: NAME. |
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 |
setProjectDeliverable(boolean a_ProjectDeliverable)
Sets the value of the attribute: PROJECT_DELIVERABLE. |
void |
setResourceRef(ObjectReference a_ResourceRef)
Sets the value of the attribute: RESOURCE_REF. |
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 a_StartTime)
Sets the value of the attribute: START_TIME. |
void |
setState(State state)
Sets the lifecycle state of the object that is referred to by the information resource of the deliverable. |
void |
setStatusDescription(String a_StatusDescription)
Sets the value of the attribute: STATUS_DESCRIPTION. |
void |
setSuccessors(QueryResult a_result)
sets object's successors. |
void |
setTargetConfiguration(String a_TargetConfiguration)
Sets the value of the attribute: TARGET_CONFIGURATION. |
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 void |
targetConfigurationValidate(String a_TargetConfiguration)
|
String |
toString()
Produces string representation of the object. |
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.fc.Item |
getDomainRef, initialize, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, 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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String ATTR_VALUE_MAP
WTStringMap
,
WTStringMap
,
Constant Field Valuesprivate static int ATTR_VALUE_MAP_UPPER_LIMIT
private WTStringMap attrValueMap
public static final String DEADLINE
private Timestamp deadline
public static final String DESCRIPTION
private static int DESCRIPTION_UPPER_LIMIT
private String description
public static final String DURATION
private TimeToElapse duration
public static final String END_TIME
private Timestamp endTime
public static final String EVENT_LIST
WTStringSet
,
Constant Field Valuesprivate static int EVENT_LIST_UPPER_LIMIT
private WTStringSet eventList
public static final String EXECUTION_STATE
ProjectState
,
Constant Field Valuesprivate static int EXECUTION_STATE_UPPER_LIMIT
private ProjectState executionState
public static final String NAME
private static int NAME_UPPER_LIMIT
private String name
public static final String PROJECT_DELIVERABLE
private boolean projectDeliverable
public static final String RESOURCE_REF
private ObjectReference resourceRef
public static final String START_TIME
private Timestamp startTime
public static final String TARGET_CONFIGURATION
private static int TARGET_CONFIGURATION_UPPER_LIMIT
private String targetConfiguration
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 Ownership ownership
private IndexerSet indexerSet
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final long R60_EXTERNALIZATION_VERSION_UID
private static final boolean VERBOSE
private ProjectActivity linkedActivity
Constructor Detail |
public Deliverable()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(Deliverable 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 Item
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 Item
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public WTStringMap getAttrValueMap()
WTStringMap
,
WTStringMap
public void setAttrValueMap(WTStringMap a_AttrValueMap) throws WTPropertyVetoException
a_AttrValueMap
-
WTPropertyVetoException
WTStringMap
,
WTStringMap
private void attrValueMapValidate(WTStringMap a_AttrValueMap) throws WTPropertyVetoException
a_AttrValueMap
-
WTPropertyVetoException
public Timestamp getDeadline()
getDeadline
in interface ExecutionObject
public void setDeadline(Timestamp a_Deadline)
setDeadline
in interface ExecutionObject
a_Deadline
- public String getDescription()
getDescription
in interface ExecutionObject
public void setDescription(String a_Description)
setDescription
in interface ExecutionObject
a_Description
- public TimeToElapse getDuration()
getDuration
in interface ExecutionObject
public void setDuration(TimeToElapse a_Duration)
setDuration
in interface ExecutionObject
a_Duration
- public Timestamp getEndTime()
getEndTime
in interface ExecutionObject
public void setEndTime(Timestamp a_EndTime)
setEndTime
in interface ExecutionObject
a_EndTime
- public WTStringSet getEventList()
WTStringSet
public void setEventList(WTStringSet a_EventList) throws WTPropertyVetoException
a_EventList
-
WTPropertyVetoException
WTStringSet
private void eventListValidate(WTStringSet a_EventList) throws WTPropertyVetoException
a_EventList
-
WTPropertyVetoException
public ProjectState getExecutionState()
getExecutionState
in interface ExecutionObject
ProjectState
public void setExecutionState(ProjectState a_ExecutionState)
setExecutionState
in interface ExecutionObject
a_ExecutionState
- ProjectState
public String getName()
getName
in interface ExecutionObject
public void setName(String a_Name)
setName
in interface ExecutionObject
a_Name
- public boolean isProjectDeliverable()
public void setProjectDeliverable(boolean a_ProjectDeliverable)
a_ProjectDeliverable
- public ObjectReference getResourceRef()
public void setResourceRef(ObjectReference a_ResourceRef) throws WTPropertyVetoException
a_ResourceRef
-
WTPropertyVetoException
private void resourceRefValidate(ObjectReference a_ResourceRef) throws WTPropertyVetoException
a_ResourceRef
-
WTPropertyVetoException
public Timestamp getStartTime()
getStartTime
in interface ExecutionObject
public void setStartTime(Timestamp a_StartTime)
setStartTime
in interface ExecutionObject
a_StartTime
- public String getTargetConfiguration()
public void setTargetConfiguration(String a_TargetConfiguration) throws WTPropertyVetoException
a_TargetConfiguration
-
WTPropertyVetoException
private void targetConfigurationValidate(String a_TargetConfiguration) throws WTPropertyVetoException
a_TargetConfiguration
-
WTPropertyVetoException
public ProjectPlan getPlan()
getPlan
in interface ExecutionObject
public void setPlan(ProjectPlan a_Plan) throws WTPropertyVetoException, WTException
a_Plan
-
WTPropertyVetoException
WTException
public ObjectReference getPlanReference()
public void setPlanReference(ObjectReference a_PlanReference) throws WTPropertyVetoException
a_PlanReference
-
WTPropertyVetoException
private void planReferenceValidate(ObjectReference a_PlanReference) throws WTPropertyVetoException
a_PlanReference
-
WTPropertyVetoException
public static Deliverable newDeliverable(ProjectPlan plan) throws WTException
plan
-
WTException
ProjectPlan
protected void initialize(ProjectPlan plan) throws WTException
plan
-
WTException
public ProjectActivity getLinkedActivity() throws WTException
ProjectActivity
linked to
the deliverable. This activity is not null if the "link deliverables"
option is selected and the deliverable has been linked to an activity.
WTException
public Timestamp getNewFinish(Timestamp new_start, Timestamp old_start) throws WTException
The old start date is used to compute the duration, which is then
used with the new start to compute the new estimated finish date.
Supported API: false
new_start
- old_start
-
WTException
public State getState()
State
public Persistable getTarget() throws WTException
Setting the target is done through the 'setTarget' method of the
resource service.
Supported API: false
WTException
ProjResourceService
public void setState(State state) throws WTException
state
-
WTException
State
public String toString()
toString
in class WTObject
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 getEstimatedFinish()
getEstimatedFinish
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 QueryResult getPredecessors()
getPredecessors
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 setEstimatedFinish(Timestamp a_time)
setEstimatedFinish
in interface ExecutionObject
a_time
- public void setPredecessors(QueryResult a_result)
setPredecessors
in interface ExecutionObject
a_result
- 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 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 Item
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 Item
public Timestamp getInitialTime() throws WTException
WTException
private ObjectIdentifier getId(Object obj)
private void checkValidRestart() throws WTException
WTException
public TimeToElapse getDuration1() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |