Unable to set values for enumeration attributes in RRC 4.0.1 M3
I am trying to set values for enumeration data attributes using OSLC.
There is no error and at the same time no value is populated.
Using the following code to do the same
String access = findPropertyByTitle(doc, "Artifact Usage");
I get the correct URI for this attrbute . This is an enumerated attribute having key as Integer and Value as String
Tried the following to set
req.addRMIntegerProperty(access, 0);
Have also tried with the value corresponding to the key.
req.addRMIntegerProperty(access, "Work Product");
None of them work although the requirement URL looks good.
I get the attribute definition as follows:
<rm_property:_G4QYIQ7-EeKaDcaAOPjzYg rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</rm_property:_G4QYIQ7-EeKaDcaAOPjzYg>
Is there any idea whats the error?
Thanks,
Samanwita
There is no error and at the same time no value is populated.
Using the following code to do the same
String access = findPropertyByTitle(doc, "Artifact Usage");
I get the correct URI for this attrbute . This is an enumerated attribute having key as Integer and Value as String
Tried the following to set
req.addRMIntegerProperty(access, 0);
Have also tried with the value corresponding to the key.
req.addRMIntegerProperty(access, "Work Product");
None of them work although the requirement URL looks good.
I get the attribute definition as follows:
<rm_property:_G4QYIQ7-EeKaDcaAOPjzYg rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</rm_property:_G4QYIQ7-EeKaDcaAOPjzYg>
Is there any idea whats the error?
Thanks,
Samanwita