Coverage Report - org.kuali.student.common.ui.client.configurable.mvc.multiplicity.SwapCompositeConditionFieldConfig
 
Classes in this File Line Coverage Branch Coverage Complexity
SwapCompositeConditionFieldConfig
0%
0/14
0%
0/2
1.167
 
 1  
 package org.kuali.student.common.ui.client.configurable.mvc.multiplicity;
 2  
 
 3  
 public class SwapCompositeConditionFieldConfig {
 4  
 
 5  
     private MultiplicityFieldConfiguration multiplicityFieldConfiguration;
 6  
     private MultiplicityConfiguration multiplicityConfiguration;
 7  
     
 8  
     public SwapCompositeConditionFieldConfig(MultiplicityFieldConfiguration multiplicityFieldConfiguration,
 9  0
             MultiplicityConfiguration multiplicityConfiguration) {
 10  0
         setMultiplicityFieldConfiguration(multiplicityFieldConfiguration);
 11  0
         setMultiplicityConfiguration(multiplicityConfiguration);
 12  0
     }
 13  
 
 14  
     public MultiplicityFieldConfiguration getMultiplicityFieldConfiguration() {
 15  0
         return multiplicityFieldConfiguration;
 16  
     }
 17  
     public void setMultiplicityFieldConfiguration(MultiplicityFieldConfiguration multiplicityFieldConfiguration) {
 18  0
         this.multiplicityFieldConfiguration = multiplicityFieldConfiguration;
 19  0
     }
 20  
     public MultiplicityConfiguration getMultiplicityConfiguration() {
 21  0
         return multiplicityConfiguration;
 22  
     }
 23  
     public void setMultiplicityConfiguration(MultiplicityConfiguration multiplicityConfiguration) {
 24  0
         this.multiplicityConfiguration = multiplicityConfiguration;
 25  0
     }
 26  
     public boolean useMultiplicity() {
 27  0
         boolean useMultiplicity = false;
 28  0
         if (multiplicityConfiguration != null) {
 29  0
             useMultiplicity = true;
 30  
         }
 31  0
         return useMultiplicity;
 32  
     }
 33  
 }