Allegory: A literary form where a story is told for what it signifies rather than for its own sake.

...For example, in Nathan's story of the ewe lamb, the lamb itself is not the point of the story but rather is a personification of Bathsheba (2 Sam 12:1-14).

...Generally, in allegory the point is not so much that each item signifies something else but that the allegory itself signifies a virtue, vice or type of character, or occasionally, a correlative historical person or event.

Patzia & Petrotta, Pocket Dictionary of Biblical Studies (2002), 9.