Coverage Report - org.kuali.student.common.ui.client.event.SectionUpdateEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
SectionUpdateEvent
0%
0/8
N/A
1
 
 1  
 package org.kuali.student.common.ui.client.event;
 2  
 
 3  
 import org.kuali.student.common.ui.client.configurable.mvc.sections.Section;
 4  
 import org.kuali.student.common.ui.client.mvc.UncheckedApplicationEvent;
 5  
 
 6  0
 public class SectionUpdateEvent extends UncheckedApplicationEvent<SectionUpdateHandler>{
 7  0
     public static final Type<SectionUpdateHandler> TYPE = new Type<SectionUpdateHandler>();
 8  
         private Section section;
 9  
         
 10  
         public void setSection(Section section){
 11  0
                 this.section = section;
 12  0
         }
 13  
         
 14  
         public Section getSection(){
 15  0
                 return section;
 16  
         }
 17  
 
 18  
         @Override
 19  
         protected void dispatch(SectionUpdateHandler handler) {
 20  0
                 handler.onSectionUpdate(this);
 21  0
         }
 22  
 
 23  
         @Override
 24  
         public Type<SectionUpdateHandler> getAssociatedType() {
 25  0
                 return TYPE;
 26  
         }
 27  
 
 28  
 }