com.ibm.rpm.scorecard.containers
AssignedScorecard

com.ibm.rpm.framework.RPMObject
  extended bycom.ibm.rpm.scorecard.containers.AbstractScorecardEntity
   extended bycom.ibm.rpm.scorecard.containers.AbstractScorecardElement
    extended bycom.ibm.rpm.scorecard.containers.AbstractScorecard
     extended bycom.ibm.rpm.scorecard.containers.AssignedScorecard

AssignedScorecard
Extends: com.ibm.rpm.scorecard.containers.AbstractScorecard
Child objects:
   com.ibm.rpm.scorecard.containers.ResourceAssignedScorecard

Related scope: com.ibm.rpm.scorecard.scope.ScorecardScope

Scorecards are used in order to evaluate objects. Their questions and responses are set by a user. The responses are weighted on an averaged which is based on the weights in scorecard definition. The AssignedScorecard is used to assign actual answers.

Parent is madatory, allowed values are Asset, GenericProject, and AbstractScope.

This object should never be directly created, in order to create AssignedScorecard, the assignScorecard operation in the Application interface must be used. Refer to the RPM Web Services API Interface section on Application Interface Operations for details.

While using the assignScorecard operation it is possible to get back the AssignedScorecard object, this is done by adding the ScorecardScope to the assignedObjectScope and selecting the correct ReloadType, for details refer to the assignScorecard operation documentation. In addition, after executing the assignScorecard operation, the AssignedScorecard can be loaded using Xpath, therefore, allowing the user to change properties in those objects and save them again.

AssignedScorecard can be unassigned by setting its delete property to true and saving its parent RPMObject (Asset, GenericProject, AbstractScope), which subsequently deletes all the relevant AssignedScorecard, AssignedScorecardCategory, AssignedScorecardQuestion, and AssignedScorecardResponse.

AssignedScorecard cannot be deleted without unassigning a Scorecard from an RPMObject.

Supported API Calls: Primary key: The following fields are required when using the loadFromID and loadArrayFromID methods:

ID

Related code samples :

Java

C#

Field Summary
AssignedScorecardCategory[] assignedScorecardCategories
   An array of categories.
xsd:int score
   The score of the assignedScorecard. This field is read-only.
AssignedScorecardState scorecardState
   The state of the scorecard.

Inherited Field Summary
xsd:string contextName
   The context name identifies which section of the Web Services API the object belongs to. This value of this field is generated automatically when creating the RPMObject.
xsd:boolean deleted
   If the value of this field is set to true, then the RPMObject will be deleted when performing a save.
xsd:string description
   Description of the element.
xsd:string ID
   The unique ID of the RPMObject. If the value of this field is set to null, the save operation will generate the ID automatically when creating the RPMObject. If an ID is specified, then the save operation will attempt to update an existing RPMObject.
xsd:string name
   The name of the element. This field is mandatory.
RPMObject parent
   The parent of the RPMObject.
ProbabilityType probabilityType
   The type of the weighted average.
xsd:int weight
   The weight of the element.

Field Detail

assignedScorecardCategories


AssignedScorecardCategory[] assignedScorecardCategories
An array of categories.

Scoping: This field will be used by the API if the scope field scorecardcategories is enabled.

Relationship: This field is a composite relationship. Deleting the current object will delete the object stored in this field.

Valid types:
com.ibm.rpm.scorecard.containers.AssignedScorecardCategory

score


xsd:int  score
The score of the assignedScorecard. This field is read-only.

Read-only behavior: The value of this field is read only.


scorecardState


AssignedScorecardState scorecardState
The state of the scorecard.

Read-only behavior: The value of this field is read only.

Relationship: This field is a reference relationship.

Valid types:
com.ibm.rpm.scorecard.containers.AssignedScorecardState

Inherited Field Detail

contextName


xsd:string  contextName
The context name identifies which section of the Web Services API the object belongs to. This value of this field is generated automatically when creating the RPMObject.

Read-only behavior: The value of this field is read only.

X-Path availability: This field doesn't support X-Path queries.


deleted


xsd:boolean  deleted
If the value of this field is set to true, then the RPMObject will be deleted when performing a save.

Read-only behavior: The value of this field is read only.

X-Path availability: This field doesn't support X-Path queries.


description


xsd:string  description
Description of the element.

Maximum: The maximum length for this field is 1000 characters.

Read-only behavior: The value of this field is read only.


ID


xsd:string  ID
The unique ID of the RPMObject. If the value of this field is set to null, the save operation will generate the ID automatically when creating the RPMObject. If an ID is specified, then the save operation will attempt to update an existing RPMObject.

Read-only behavior: The value of this field is read only.


name


xsd:string  name
The name of the element. This field is mandatory.

Minimum: The minimum length for this field is 1 characters.

Maximum: The maximum length for this field is 255 characters.

Null value: This field may never be null.


parent


RPMObject parent
The parent of the RPMObject.

Null value: This field may never be null.

Scoping: This field will be used by the API if the scope field parent is enabled.

Scoping during creation: This field is always in scope at creation time.

Read-only behavior: The value of this field is read only after the object was created.

Relationship: This field is a reference relationship.

X-Path availability: This field doesn't support X-Path queries.

Valid types:
com.ibm.rpm.scopemanagement.containers.AbstractScope
com.ibm.rpm.asset.containers.Asset
com.ibm.rpm.wbs.containers.GenericProject

probabilityType


ProbabilityType probabilityType
The type of the weighted average.

Null value: This field may never be null during updates.

Relationship: This field is a reference relationship.

Default value: This default value is None.


weight


xsd:int  weight
The weight of the element.

Minimum: The minimum value for this field is 1.

Maximum: The maximum value for this field is 9999.

Null value: This field may never be null during updates.

Read-only behavior: The value of this field is read only.

Default value: This default value is 1.