Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MembershipQueryInfo |
|
| 1.1666666666666667;1.167 |
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.lum.lu.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 | import javax.xml.bind.annotation.XmlAttribute; | |
25 | import javax.xml.bind.annotation.XmlElement; | |
26 | ||
27 | import org.kuali.student.common.search.dto.SearchParam; | |
28 | ||
29 | /** | |
30 | * Specifies a search for CLU identifiers. | |
31 | * | |
32 | * @Author KSContractMojo | |
33 | * @Author Kamal | |
34 | * @Since Mon Jan 11 15:21:50 PST 2010 | |
35 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/membershipQueryInfo+Structure+v1.0-rc3">MembershipQueryInfo</> | |
36 | * | |
37 | */ | |
38 | @XmlAccessorType(XmlAccessType.FIELD) | |
39 | 0 | public class MembershipQueryInfo implements Serializable { |
40 | ||
41 | private static final long serialVersionUID = 1L; | |
42 | ||
43 | @XmlAttribute | |
44 | private String id; | |
45 | ||
46 | @XmlElement | |
47 | private String searchTypeKey; | |
48 | ||
49 | @XmlElement | |
50 | private List<SearchParam> queryParamValueList; | |
51 | ||
52 | /** | |
53 | * Identifier for a search type. | |
54 | */ | |
55 | public String getSearchTypeKey() { | |
56 | 0 | return searchTypeKey; |
57 | } | |
58 | ||
59 | public void setSearchTypeKey(String searchTypeKey) { | |
60 | 0 | this.searchTypeKey = searchTypeKey; |
61 | 0 | } |
62 | ||
63 | /** | |
64 | * List of query parameter values. Not required if the search doesn't extend beyond the included object. | |
65 | */ | |
66 | public List<SearchParam> getQueryParamValueList() { | |
67 | 0 | if (queryParamValueList == null) { |
68 | 0 | queryParamValueList = new ArrayList<SearchParam>(0); |
69 | } | |
70 | 0 | return queryParamValueList; |
71 | } | |
72 | ||
73 | public void setQueryParamValueList(List<SearchParam> queryParamValueList) { | |
74 | 0 | this.queryParamValueList = queryParamValueList; |
75 | 0 | } |
76 | ||
77 | public String getId() { | |
78 | 0 | return id; |
79 | } | |
80 | ||
81 | public void setId(String id) { | |
82 | 0 | this.id = id; |
83 | 0 | } |
84 | } |