@staticmethod
def _from_db_object(volume, db_volume):
    """Converts a database entity to a formal object."""
    for field in volume.fields:
        setattr(volume, field, db_volume[field])
    volume.obj_reset_changes()
    return volume
