com.ibm.rpm.scorecard.containers
ResourceAssignedScorecard

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
      extended bycom.ibm.rpm.scorecard.containers.ResourceAssignedScorecard

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

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

This container is used to link a Resource to a Project in order to be able to read the Scorecard assigned to this resource for a particular project. The Resource can have at most one scorecard assigned to it at any time. This object is referenced by Resource. To assign a scorecard to a resource, use the assignScorecardToResource system operation instead of using this object directly. If you wish to retrieve the correct scorecard for resource under a given project, use an XPath query of the form /Resource/ResourceAssignedScorecard[@project[@id=...]]

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

ID

Field Summary
GenericProject project
   There is at most one scorecard per project for a given Resource.

Inherited Field Summary
AssignedScorecardCategory[] assignedScorecardCategories
   An array of categories.
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 score
   The score of the assignedScorecard. This field is read-only.
AssignedScorecardState scorecardState
   The state of the scorecard.
xsd:int weight
   The weight of the element.

Field Detail

project


GenericProject project
There is at most one scorecard per project for a given Resource.

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

Relationship: This field is a reference relationship.


Inherited 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

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.resource.containers.Resource

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.


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

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.