"whining LIKE a spoilt brat" is a description of your behaviour not name calling - unless you have redefined the English language to suit your claims.
From www.dictionary.com (not a proper English English dictionary I know but will most probably do):
"like2 P Pronunciation Key (lk)
<strong>Possessing the characteristics of; resembling closely; similar to.</strong>
In the typical manner of: It's not like you to take offense.
In the same way as: lived like royalty.
Inclined or disposed to: felt like running away.
As if the probability exists for: looks like a bad year for farmers.
Such as; for example: saved things like old newspapers and pieces of string."