1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r1.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 @Deprecated
25 @XmlAccessorType(XmlAccessType.FIELD)
26 public class JoinCriteriaInfo implements Serializable {
27 private static final long serialVersionUID = 1L;
28 public enum JoinType {AND,OR,NOT};
29
30 private JoinType joinType;
31 private List<JoinCriteriaInfo> joinCriteria;
32 private List<JoinComparisonInfo> comparisons;
33 public JoinType getJoinType() {
34 return joinType;
35 }
36 public void setJoinType(JoinType joinType) {
37 this.joinType = joinType;
38 }
39 public List<JoinComparisonInfo> getComparisons() {
40 if(comparisons==null){
41 comparisons = new ArrayList<JoinComparisonInfo>();
42 }
43 return comparisons;
44 }
45 public void setComparisons(List<JoinComparisonInfo> comparisons) {
46 this.comparisons = comparisons;
47 }
48 public List<JoinCriteriaInfo> getJoinCriteria() {
49 if(joinCriteria==null){
50 joinCriteria = new ArrayList<JoinCriteriaInfo>();
51 }
52 return joinCriteria;
53 }
54 public void setJoinCriteria(List<JoinCriteriaInfo> joinCriteria) {
55 this.joinCriteria = joinCriteria;
56 }
57
58 }