Primavera Integration API 7.0

com.primavera.integration.common
Class ProjectArchitectOptions

java.lang.Object
  extended by com.primavera.integration.common.ProjectArchitectOptions
All Implemented Interfaces:
java.io.Serializable

public class ProjectArchitectOptions
extends java.lang.Object
implements java.io.Serializable

Project architect options used by the Job Manager when calling the Project Architect job service.

See Also:
Serialized Form

Constructor Summary
ProjectArchitectOptions(ObjectId mmObjectId, ObjectId wbsObjectId, boolean mergeToRoot, boolean useMMPricePerUnit, int complexity, boolean useMMResponsibleMgr)
          Class constructor
 
Method Summary
 int getComplexityPercentage()
          Gets the size and complexity percentage for the selected methodology to use for bottom-up estimation, used to estimate work efforts and costs
 boolean getMergeToRootFlag()
          Gets the flag that indicates whether to merge the methodology WBS into the current project's WBS
 ObjectId getMethodologyObjectId()
          Gets the ObjectId of the Methodology to be used to create the project plan
 boolean getMethodologyResonsibleManagerFlag()
          Gets the flag that indicates whether the responsible manager assigned to the Project or WBS in Methodology Manager will be used, otherwise the responsible manager assigned to the selected Project or WBS will be used.
 boolean getUseMethodologyPricePerUnitFlag()
          Gets the flag that indicates whether the price per unit will be copied from the methodology and the rate source will be set to Override, otherwise the project rate type will be used on all assignments
 ObjectId getWBSObjectId()
          Gets the ObjectId of the WBS in the current project to which the methodology content should be saved.
 void setComplexityPercentage(int complexity)
          Sets the size and complexity percentage for the selected methodology to use for bottom-up estimation, used to estimate work efforts and costs
 void setMergeToRootFlag(boolean mergeToRoot)
          Sets the flag that indicates whether to merge the methodology WBS into the current project's WBS
 void setMethodologyObjectId(ObjectId mmObjectId)
          Sets the ObjectId of the Methodology to be used to create the project plan
 void setMethodologyResonsibleManagerFlag(boolean useMMResponsibleMgr)
          Sets the flag that indicates whether the responsible manager assigned to the Project or WBS in Methodology Manager will be used, otherwise the responsible manager assigned to the selected Project or WBS will be used.
 void setUseMethodologyPricePerUnitFlag(boolean useMMPricePerUnit)
          Sets the flag that indicates whether the price per unit will be copied from the methodology and the rate source will be set to Override, otherwise the project rate type will be used on all assignments
 void setWBSObjectId(ObjectId wbsObjectId)
          Sets the ObjectId of the WBS in the current project to which the methodology content should be saved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectArchitectOptions

public ProjectArchitectOptions(ObjectId mmObjectId,
                               ObjectId wbsObjectId,
                               boolean mergeToRoot,
                               boolean useMMPricePerUnit,
                               int complexity,
                               boolean useMMResponsibleMgr)
Class constructor

Parameters:
mmObjectId - - the ObjectId of the Methodology to be used to create the project plan
wbsObjectId - - the ObjectId of the WBS in the current project to which the methodology content should be saved. If null, it will be merged into the root WBS, which is the project itself.
mergeToRoot - - the flag that indicates whether to merge the methodology WBS into the current project's WBS
useMMPricePerUnit - - if true the price per unit will be copied from the methodology and the rate source will be set to Override, otherwise the project rate type will be used on all assignments
complexity - - the size and complexity percentage for the selected methodology to use for bottom-up estimation, used to estimate work efforts and costs
useMMResponsibleMgr - - if true the responsible manager assigned to the Project or WBS in Methodology Manager will be used, otherwise the responsible manager assigned to the selected Project or WBS will be used.
Method Detail

setMethodologyObjectId

public void setMethodologyObjectId(ObjectId mmObjectId)
Sets the ObjectId of the Methodology to be used to create the project plan

Parameters:
mmObjectId - the Methodology object id

getMethodologyObjectId

public ObjectId getMethodologyObjectId()
Gets the ObjectId of the Methodology to be used to create the project plan

Returns:
ObjectId the Methodology object id

setWBSObjectId

public void setWBSObjectId(ObjectId wbsObjectId)
Sets the ObjectId of the WBS in the current project to which the methodology content should be saved. If null, it will be merged into the root WBS, which is the project itself.

Parameters:
wbsObjectId - the WBS object id

getWBSObjectId

public ObjectId getWBSObjectId()
Gets the ObjectId of the WBS in the current project to which the methodology content should be saved. If null, it will be merged into the root WBS, which is the project itself.

Returns:
ObjectId the WBS object id

setMergeToRootFlag

public void setMergeToRootFlag(boolean mergeToRoot)
Sets the flag that indicates whether to merge the methodology WBS into the current project's WBS

Parameters:
mergeToRoot - true to merge the methodology WBS

getMergeToRootFlag

public boolean getMergeToRootFlag()
Gets the flag that indicates whether to merge the methodology WBS into the current project's WBS

Returns:
boolean true if the methodology WBS will be merged

setUseMethodologyPricePerUnitFlag

public void setUseMethodologyPricePerUnitFlag(boolean useMMPricePerUnit)
Sets the flag that indicates whether the price per unit will be copied from the methodology and the rate source will be set to Override, otherwise the project rate type will be used on all assignments

Parameters:
useMMPricePerUnit - true to copy the price per unit from the methodology

getUseMethodologyPricePerUnitFlag

public boolean getUseMethodologyPricePerUnitFlag()
Gets the flag that indicates whether the price per unit will be copied from the methodology and the rate source will be set to Override, otherwise the project rate type will be used on all assignments

Returns:
boolean true if the price per unit will be copied from the methodology

setMethodologyResonsibleManagerFlag

public void setMethodologyResonsibleManagerFlag(boolean useMMResponsibleMgr)
Sets the flag that indicates whether the responsible manager assigned to the Project or WBS in Methodology Manager will be used, otherwise the responsible manager assigned to the selected Project or WBS will be used.

Parameters:
useMMResponsibleMgr - true use the methodology's responsible manager

getMethodologyResonsibleManagerFlag

public boolean getMethodologyResonsibleManagerFlag()
Gets the flag that indicates whether the responsible manager assigned to the Project or WBS in Methodology Manager will be used, otherwise the responsible manager assigned to the selected Project or WBS will be used.

Returns:
boolean true if the methodology's responsible manager will be used

setComplexityPercentage

public void setComplexityPercentage(int complexity)
Sets the size and complexity percentage for the selected methodology to use for bottom-up estimation, used to estimate work efforts and costs

Parameters:
complexity - the size and complexity percentage

getComplexityPercentage

public int getComplexityPercentage()
Gets the size and complexity percentage for the selected methodology to use for bottom-up estimation, used to estimate work efforts and costs

Returns:
int the size and complexity percentage

Primavera Integration API 7.0

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.