Group classification of a heterogeneous Schroedinger equation