*/
public void setDisplayName(String displayName)
{
this.displayName = displayName;
IdentityEventBroadcaster broadcaster = getEventBroadcaster();
if (broadcaster != null)
{
// This can be called on object creation by hibernate so make sure that all fields are populated first
if (getId() != null && getName() != null && getDisplayName() != null)
{
RoleUpdatedEvent event = new RoleUpdatedEvent(getId(), getName(), displayName);
broadcaster.fireEvent(event);
}
}
}