Coverage Report - org.kuali.student.lum.program.client.events.SpecializationCreatedEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
SpecializationCreatedEvent
0%
0/9
N/A
1
SpecializationCreatedEvent$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  
 /**
 7  
  * @author Igor
 8  
  */
 9  0
 public class SpecializationCreatedEvent extends GwtEvent<SpecializationCreatedEvent.Handler> {
 10  
 
 11  0
     public static Type<Handler> TYPE = new Type<Handler>();
 12  
 
 13  
     private final String specializationId;
 14  
 
 15  0
     public SpecializationCreatedEvent(String specializationId) {
 16  0
         this.specializationId = specializationId;
 17  0
     }
 18  
 
 19  
     public String getSpecializationId() {
 20  0
         return specializationId;
 21  
     }
 22  
 
 23  
     @Override
 24  
     public Type<Handler> getAssociatedType() {
 25  0
         return TYPE;
 26  
     }
 27  
 
 28  
     @Override
 29  
     protected void dispatch(Handler handler) {
 30  0
         handler.onEvent(this);
 31  0
     }
 32  
 
 33  
     public static interface Handler extends EventHandler {
 34  
         void onEvent(SpecializationCreatedEvent event);
 35  
     }
 36  
 }