Clover Coverage Report - Kuali Student 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 05:03:32 EDT
../../../../../../img/srcFileCovDistChart0.png 2% of files have more coverage
10   57   8   1.67
4   38   0.8   3
6     1.33  
2    
 
  JoinCriteriaInfo       Line # 25 10 0% 8 20 0% 0.0
  JoinCriteriaInfo.JoinType       Line # 27 0 - 0 0 - -1.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.search.dto;
17   
18    import java.io.Serializable;
19    import java.util.ArrayList;
20    import java.util.List;
21   
22    import javax.xml.bind.annotation.XmlAccessType;
23    import javax.xml.bind.annotation.XmlAccessorType;
24    @XmlAccessorType(XmlAccessType.FIELD)
 
25    public class JoinCriteriaInfo implements Serializable {
26    private static final long serialVersionUID = 1L;
 
27    public enum JoinType {AND,OR,NOT};
28   
29    private JoinType joinType;
30    private List<JoinCriteriaInfo> joinCriteria;
31    private List<JoinComparisonInfo> comparisons;
 
32  0 toggle public JoinType getJoinType() {
33  0 return joinType;
34    }
 
35  0 toggle public void setJoinType(JoinType joinType) {
36  0 this.joinType = joinType;
37    }
 
38  0 toggle public List<JoinComparisonInfo> getComparisons() {
39  0 if(comparisons==null){
40  0 comparisons = new ArrayList<JoinComparisonInfo>();
41    }
42  0 return comparisons;
43    }
 
44  0 toggle public void setComparisons(List<JoinComparisonInfo> comparisons) {
45  0 this.comparisons = comparisons;
46    }
 
47  0 toggle public List<JoinCriteriaInfo> getJoinCriteria() {
48  0 if(joinCriteria==null){
49  0 joinCriteria = new ArrayList<JoinCriteriaInfo>();
50    }
51  0 return joinCriteria;
52    }
 
53  0 toggle public void setJoinCriteria(List<JoinCriteriaInfo> joinCriteria) {
54  0 this.joinCriteria = joinCriteria;
55    }
56   
57    }