Coverage Report - org.kuali.student.common.search.dto.SearchCriteriaTypeInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchCriteriaTypeInfo
0%
0/15
0%
0/2
1.125
 
 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.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  
 }