*/
public void set(String name, Object value) {
Map<String, Object> map = new FastMap<Object>();
map.put("state", value);
setValue(name, JsonConverter.encode(map).toString());
StateEvent re = new StateEvent(manager, name, value);
re.setName(name);
re.setValue(value);
fireEvent(Events.StateChange, re);
}