contestada

Is this a simile, metaphor or analogy.

My heart is like a singing bird
Whose nest is in a water'd shoot;
My heart is like an apple-tree
Whose boughs are bent with thick-set fruit