| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 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) |
|
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 8 |
Complexity Density: 0.8 |
|
| 25 |
|
public class JoinCriteriaInfo implements Serializable { |
| 26 |
|
private static final long serialVersionUID = 1L; |
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 27 |
|
public enum JoinType {AND,OR,NOT}; |
| 28 |
|
|
| 29 |
|
private JoinType joinType; |
| 30 |
|
private List<JoinCriteriaInfo> joinCriteria; |
| 31 |
|
private List<JoinComparisonInfo> comparisons; |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 32 |
0
|
public JoinType getJoinType() {... |
| 33 |
0
|
return joinType; |
| 34 |
|
} |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 35 |
0
|
public void setJoinType(JoinType joinType) {... |
| 36 |
0
|
this.joinType = joinType; |
| 37 |
|
} |
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
| 38 |
0
|
public List<JoinComparisonInfo> getComparisons() {... |
| 39 |
0
|
if(comparisons==null){ |
| 40 |
0
|
comparisons = new ArrayList<JoinComparisonInfo>(); |
| 41 |
|
} |
| 42 |
0
|
return comparisons; |
| 43 |
|
} |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 44 |
0
|
public void setComparisons(List<JoinComparisonInfo> comparisons) {... |
| 45 |
0
|
this.comparisons = comparisons; |
| 46 |
|
} |
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
| 47 |
0
|
public List<JoinCriteriaInfo> getJoinCriteria() {... |
| 48 |
0
|
if(joinCriteria==null){ |
| 49 |
0
|
joinCriteria = new ArrayList<JoinCriteriaInfo>(); |
| 50 |
|
} |
| 51 |
0
|
return joinCriteria; |
| 52 |
|
} |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 53 |
0
|
public void setJoinCriteria(List<JoinCriteriaInfo> joinCriteria) {... |
| 54 |
0
|
this.joinCriteria = joinCriteria; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
} |