public void setProperty(StateName stateName, String newValue) { properties.put(stateName, newValue); unitOfWork.setProperty(identity, stateName, newValue); }