//make these settings the new state for this part of the attribute.
valueObject.setOptions(currentOptions);
currentAttributeState.set(lmi, valueObject);
Operation write = new WriteAttribute(address);
write.addAdditionalProperty("name", attribute);//attribute to execute on
//now complete the write operation by updating the value
write.addAdditionalProperty("value", (Object) currentAttributeState);
executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
}