public CompositionEventComponent addEvent() { //3
      CompositionEventComponent t = new CompositionEventComponent();
      if (this.event == null)
        this.event = new ArrayList<CompositionEventComponent>();
      this.event.add(t);
      return t;
    }
public CompositionEventComponent addEvent ( ) { CompositionEventComponent t = new CompositionEventComponent ( ) ; if ( this . event == null ) this . event = new ArrayList < CompositionEventComponent > ( ) ; this . event . add ( t ) ; return t ; }
syntactic sugar