added override of JObject::setProperties(), to use FOFModel::setState()
reverted
more docblock correction