The structure of decomposable lattices determined by their prime ideals