What is a figure by which the name of a whole is put for a part, or that of a part for a whole, or a definite number for an indefinite called?

comprehension — (Rhet.) A figure by which the name of a whole is put for a part, or that of a part for a whole, or a definite number for an indefinite. (Webster's 1913.)

Sources