added override of JObject::setProperties(), to use FOFModel::setState()