Metonymy is a term for a figure of speech. Metonymy a thing or concept is indirectly named. It is not called by its own name, but by the name of something which is closely related or implicit in the context. 