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