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  
 import org.kuali.student.core.assembly.data.Data;
 6  
 
 7  
 /**
 8  
  * @author Igor
 9  
  */
 10  0
 public class SpecializationSaveEvent extends GwtEvent<SpecializationSaveEvent.Handler> {
 11  
 
 12  0
     public static Type<Handler> TYPE = new Type<Handler>();
 13  
 
 14  
     private Data data;
 15  
 
 16  0
     public SpecializationSaveEvent(Data data) {
 17  0
         this.data = data;
 18  0
     }
 19  
 
 20  
     public Data getData() {
 21  0
         return data;
 22  
     }
 23  
 
 24  
     @Override
 25  
     public Type<Handler> getAssociatedType() {
 26  0
         return TYPE;
 27  
     }
 28  
 
 29  
     @Override
 30  
     protected void dispatch(Handler handler) {
 31  0
         handler.onEvent(this);
 32  0
     }
 33  
 
 34  
     public static interface Handler extends EventHandler {
 35  
         void onEvent(SpecializationSaveEvent event);
 36  
     }
 37  
 }