1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.search.dto; |
17 | |
import java.io.Serializable; |
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlAccessType; |
22 | |
import javax.xml.bind.annotation.XmlAccessorType; |
23 | |
import javax.xml.bind.annotation.XmlAttribute; |
24 | |
import javax.xml.bind.annotation.XmlElement; |
25 | |
import javax.xml.bind.annotation.XmlElementWrapper; |
26 | |
|
27 | |
|
28 | |
@XmlAccessorType(XmlAccessType.FIELD) |
29 | 0 | public class SearchCriteriaTypeInfo implements Serializable { |
30 | |
private static final long serialVersionUID = 1L; |
31 | |
@XmlElement |
32 | |
private String name; |
33 | |
@XmlElement |
34 | |
private String desc; |
35 | |
@XmlElement(name="queryParam") |
36 | |
@XmlElementWrapper(name="queryParams") |
37 | |
private List<QueryParamInfo> queryParams; |
38 | |
@XmlAttribute |
39 | |
private String key; |
40 | |
public String getName(){ |
41 | 0 | return name; |
42 | |
} |
43 | |
public void setName(String name){ |
44 | 0 | this.name = name; |
45 | 0 | } |
46 | |
public String getDesc(){ |
47 | 0 | return desc; |
48 | |
} |
49 | |
public void setDesc(String desc){ |
50 | 0 | this.desc = desc; |
51 | 0 | } |
52 | |
public List<QueryParamInfo> getQueryParams(){ |
53 | 0 | if(queryParams == null){ |
54 | 0 | queryParams = new ArrayList<QueryParamInfo>(); |
55 | |
} |
56 | 0 | return queryParams; |
57 | |
} |
58 | |
public void setQueryParams(List<QueryParamInfo> queryParams){ |
59 | 0 | this.queryParams = queryParams; |
60 | 0 | } |
61 | |
public String getKey(){ |
62 | 0 | return key; |
63 | |
} |
64 | |
public void setKey(String key){ |
65 | 0 | this.key = key; |
66 | 0 | } |
67 | |
} |