synecdoche

noun
  1. a figure of speech in which a part represents the whole or the whole represents a part
  2. Usage: rhetoric; literary

Examples