public class ProfileVariable
extends java.lang.Object
getResourceProfileSetting
to
configure a ResourceProfileSetting
object to use with
createOrReplaceResourceProfileSetting
.
The following is an example of a ProfileVariable returned by getSkillCategories
;
the entire object is not shown, but
instead shortened sets of elements are included to show the general structure. The first section contains the top-level
category "Applications," and the Proficiency values/IDs. The second section contains the sub-categories (types of applications) and
their corresponding IDs. The third section contains the next top-level category "Languages," and then the fourth
section contains the sub-categories (languages) and their IDs. You use the IDs from this object to create an array of
ProfileSetting objects.
<ns:return xsi:type="ax21:ProfileVariable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:elementValue>Applications</ax21:elementValue>
<ax21:id>8826919</ax21:id>
<ax21:skillRangeTitle>Proficiency by Level</ax21:skillRangeTitle>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Baseline</ax21:elementValue>
<ax21:id>8826922</ax21:id>
</ax21:skillRangeValues>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Progressing</ax21:elementValue>
<ax21:id>8826921</ax21:id>
</ax21:skillRangeValues>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Proficient</ax21:elementValue>
<ax21:id>8826920</ax21:id>
</ax21:skillRangeValues>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Experienced</ax21:elementValue>
<ax21:id>17014501</ax21:id>
</ax21:skillRangeValues>
...
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>Crystal Reports</ax21:elementValue>
<ax21:id>8826924</ax21:id>
</ax21:subCategories>
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>Erwin</ax21:elementValue>
<ax21:id>8826925</ax21:id>
</ax21:subCategories>
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>FoxPro</ax21:elementValue>
<ax21:id>17018003</ax21:id>
</ax21:subCategories>
...
<ns:return xsi:type="ax21:ProfileVariable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:elementValue>Languages</ax21:elementValue>
<ax21:id>17016023</ax21:id>
<ax21:skillRangeTitle>Proficiency by Level</ax21:skillRangeTitle>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Baseline</ax21:elementValue>
<ax21:id>8826922</ax21:id>
</ax21:skillRangeValues>
<ax21:skillRangeValues xsi:type="ax21:ValuePair">
<ax21:elementValue>Progressing</ax21:elementValue>
<ax21:id>8826921</ax21:id>
</ax21:skillRangeValues
...
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>.Net</ax21:elementValue>
<ax21:id>17018529</ax21:id>
</ax21:subCategories>
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>C#</ax21:elementValue>
<ax21:id>17018537</ax21:id>
</ax21:subCategories>
<ax21:subCategories xsi:type="ax21:ValuePair">
<ax21:elementValue>C++</ax21:elementValue>
<ax21:id>17018649</ax21:id>
</ax21:subCategories>
Constructor and Description |
---|
ProfileVariable()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementValue() |
long |
getId() |
java.lang.String |
getSkillRangeTitle() |
ValuePair[] |
getSkillRangeValues() |
ValuePair[] |
getSubCategories() |
OMElement |
serialize(OMFactory fac) |
void |
setElementValue(java.lang.String pVal) |
void |
setId(long pVal) |
void |
setSkillRangeTitle(java.lang.String pVal) |
void |
setSkillRangeValues(ValuePair[] pVal) |
void |
setSubCategories(ValuePair[] pVal) |
public void setId(long pVal)
public long getId()
public void setElementValue(java.lang.String pVal)
public java.lang.String getElementValue()
public ValuePair[] getSubCategories()
public void setSubCategories(ValuePair[] pVal)
public void setSkillRangeTitle(java.lang.String pVal)
public java.lang.String getSkillRangeTitle()
public ValuePair[] getSkillRangeValues()
public void setSkillRangeValues(ValuePair[] pVal)
public OMElement serialize(OMFactory fac)