Does *ganz* mean the whole of something and *alles* mean all the constituent parts?

> The whole of Germany. => *ganz*

> Have we got everything? => *alles*