metonymy

figure of speech substituting a part or attribute for the whole