Coverage Report - org.kuali.rice.core.api.uif.RemotableAbstractWidget
 
Classes in this File Line Coverage Branch Coverage Complexity
RemotableAbstractWidget
100%
2/2
N/A
1
RemotableAbstractWidget$Builder
66%
2/3
N/A
1
RemotableAbstractWidget$Constants
0%
0/1
N/A
1
 
 1  
 package org.kuali.rice.core.api.uif;
 2  
 
 3  
 import org.kuali.rice.core.api.mo.AbstractDataTransferObject;
 4  
 import org.kuali.rice.core.api.mo.ModelBuilder;
 5  
 
 6  
 import javax.xml.bind.annotation.XmlAccessType;
 7  
 import javax.xml.bind.annotation.XmlAccessorType;
 8  
 import javax.xml.bind.annotation.XmlType;
 9  
 
 10  
 /**
 11  
  * An abstract widget that all widgets inherit from.
 12  
  */
 13  
 @XmlAccessorType(XmlAccessType.NONE)
 14  
 @XmlType(name = RemotableAbstractWidget.Constants.TYPE_NAME)
 15  
 public abstract class RemotableAbstractWidget extends AbstractDataTransferObject implements Widget {
 16  
 
 17  
     /**
 18  
      * Should only be invoked by JAXB.
 19  
      */
 20  
     @SuppressWarnings("unused")
 21  22
     RemotableAbstractWidget() {
 22  
 
 23  22
     }
 24  
 
 25  0
     public abstract static class Builder implements Widget, ModelBuilder {
 26  
         Builder() {
 27  16
             super();
 28  16
         }
 29  
 
 30  
         //todo make ModelBuilder generic so I don't have to do this.
 31  
         public abstract RemotableAbstractWidget build();
 32  
     }
 33  
 
 34  
     /**
 35  
      * Defines some internal constants used on this class.
 36  
      */
 37  0
     static class Constants {
 38  
         final static String TYPE_NAME = "AbstractWidgetType";
 39  
     }
 40  
 }