class UidGenerator {

    public List<Event> assignUidToEvents(List<Event> events )
    {
        for ( Event event : events )
        {
            doAssignUid( event );
        }
        return events;
    }

}