Coverage Report - org.kuali.student.lum.program.client.events.SpecializationSaveEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
SpecializationSaveEvent
0%
0/9
N/A
1
SpecializationSaveEvent$Handler
N/A
N/A
1
 
 1  
 package org.kuali.student.lum.program.client.events;
 2  
 
 3  
 import com.google.gwt.event.shared.EventHandler;
 4  
 import com.google.gwt.event.shared.GwtEvent;
 5  
 
 6  
 import org.kuali.student.common.assembly.data.Data;
 7  
 
 8  
 /**
 9  
  * @author Igor
 10  
  */
 11  0
 public class SpecializationSaveEvent extends GwtEvent<SpecializationSaveEvent.Handler> {
 12  
 
 13  0
     public static Type<Handler> TYPE = new Type<Handler>();
 14  
 
 15  
     private Data data;
 16  
 
 17  0
     public SpecializationSaveEvent(Data data) {
 18  0
         this.data = data;
 19  0
     }
 20  
 
 21  
     public Data getData() {
 22  0
         return data;
 23  
     }
 24  
 
 25  
     @Override
 26  
     public Type<Handler> getAssociatedType() {
 27  0
         return TYPE;
 28  
     }
 29  
 
 30  
     @Override
 31  
     protected void dispatch(Handler handler) {
 32  0
         handler.onEvent(this);
 33  0
     }
 34  
 
 35  
     public static interface Handler extends EventHandler {
 36  
         void onEvent(SpecializationSaveEvent event);
 37  
     }
 38  
 }