Clover Coverage Report - Kuali Student 1.2-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:02:59 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
8   84   7   1.33
2   39   0.88   6
6     1.17  
1    
 
  MembershipQueryInfo       Line # 39 8 0% 7 0 100% 1.0
 
  (8)
 
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    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  56 toggle public String getSearchTypeKey() {
56  56 return searchTypeKey;
57    }
58   
 
59  21 toggle public void setSearchTypeKey(String searchTypeKey) {
60  21 this.searchTypeKey = searchTypeKey;
61    }
62   
63    /**
64    * List of query parameter values. Not required if the search doesn't extend beyond the included object.
65    */
 
66  36 toggle public List<SearchParam> getQueryParamValueList() {
67  36 if (queryParamValueList == null) {
68  5 queryParamValueList = new ArrayList<SearchParam>(0);
69    }
70  36 return queryParamValueList;
71    }
72   
 
73  16 toggle public void setQueryParamValueList(List<SearchParam> queryParamValueList) {
74  16 this.queryParamValueList = queryParamValueList;
75    }
76   
 
77  11 toggle public String getId() {
78  11 return id;
79    }
80   
 
81  12 toggle public void setId(String id) {
82  12 this.id = id;
83    }
84    }