Having an inflated idea of one's own importance.
Obsessed with one's own self image and ego.
A narcissist.
Obstinately adhering to one's own opinion.