On the equations of the electrodynamics of deformable bodies of finite extent