You can choose to show the object’s stereotyped icon at the top of the object lifeline, instead of the rectangle that normally holds the object name. To do this, the class that the object instantiates must have a stereotype that, when chosen, causes the class to be displayed differently. Examples are classes declared to have stereotype of Actor, Boundary, Entity, Control, Form, Frameset, and so on.
To display the object according to its class’s stereotype
Right‑click the object lifeline and select Display According to Stereotype. This choice only shows up if the object’s class has an applicable stereotype assigned.