Definitions of metonymy:

  • noun:   substituting the name of an attribute or feature for the name of the thing itself (as in `they counted heads')