public class ResourceProfileSetting
extends java.lang.Object
ProfileSetting
objects; returned by getResourceProfileSettings and
used as input to createOrReplaceResourceProfileSetting. ProfileSetting objects hold the IDs
for the categories, subcategories, range values, and profile itself for a resource's skills profile.
You can compare these IDs to the data in the ProfileVariable
object to determine the values to configure for the input data for a ResourceProfileSettings object.
ResourceProfileSettings passes data into
createOrReplaceResourceProfileSetting
for
a specific resource.
The following is an example code snippet that illustrates the structure of the resourceProfileSettings object. See
ProfileSetting
for more information.
Note that if you are creating a new resource profile, the profileSettingId will be null. Also, if you have a resource skills profile but there are no proficiency settings, profileSettingID will also be null.
<ser:resourceProfileSettings>
<!--One or more repetitions:-->
<xsd:profileSetting>
<xsd:categoryId>8826919</xsd:categoryId>
<xsd:profileSettingId>1163103785</xsd:profileSettingId>
<xsd:rangeValueId>8826922</xsd:rangeValueId>
<xsd:subCategoryId>8826924</xsd:subCategoryId>
</xsd:profileSetting>
<xsd:profileSetting>
<xsd:categoryId>8826919</xsd:categoryId>
<xsd:profileSettingId>1163103786</xsd:profileSettingId>
<xsd:rangeValueId>8826921</xsd:rangeValueId>
<xsd:subCategoryId>8826925</xsd:subCategoryId>
</xsd:profileSetting>
<xsd:resourceID>8826911</xsd:resourceID>
</ser:resourceProfileSettings>
Constructor and Description |
---|
ResourceProfileSetting() |
ResourceProfileSetting(long pResourceId) |
Modifier and Type | Method and Description |
---|---|
ProfileSetting[] |
getProfileSetting() |
long |
getResourceId() |
OMElement |
serialize(OMFactory fac) |
void |
setProfileSetting(ProfileSetting[] pVal) |
void |
setResourceId(long pVal) |
public ResourceProfileSetting()
public ResourceProfileSetting(long pResourceId)
public void setResourceId(long pVal)
public long getResourceId()
public ProfileSetting[] getProfileSetting()
public void setProfileSetting(ProfileSetting[] pVal)
public OMElement serialize(OMFactory fac)