How to set a workflow state value using OSLC Java API in DNG?

I have a workflow state value. This value is contained in a URI that represents its state value.
How can I update a workflow state value in dooors next generation?

My code:/…

requirement.getExtendedProperties().put(qname, “”);

// Here I can change the state value of my requirement

// But when I try update requirement
// Update the requirement

ClientResponse updateResponse = clientdng.updateResource(requirementLocation,
requirement, OslcMediaType.APPLICATION_RDF_XML);

// I cannot update HTML web jazz DNG clientdng.updateResource

Any suggestions on how to set the value to this a workflow state value?

Thanks in advance.