Coverage Report - org.kuali.student.enrollment.lpr.dto.RequestOptionInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RequestOptionInfo
0%
0/21
0%
0/2
1.25
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 1.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.opensource.org/licenses/ecl1.php Unless required by applicable law
 6  
  * or agreed to in writing, software distributed under the License is
 7  
  * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 8  
  * KIND, either express or implied. See the License for the specific language
 9  
  * governing permissions and limitations under the License.
 10  
  */
 11  
 package org.kuali.student.enrollment.lpr.dto;
 12  
 
 13  
 import java.util.List;
 14  
 
 15  
 import javax.xml.bind.annotation.XmlAccessType;
 16  
 import javax.xml.bind.annotation.XmlAccessorType;
 17  
 import javax.xml.bind.annotation.XmlAnyElement;
 18  
 import javax.xml.bind.annotation.XmlElement;
 19  
 import javax.xml.bind.annotation.XmlType;
 20  
 
 21  
 import org.kuali.student.enrollment.lpr.infc.RequestOption;
 22  
 import org.w3c.dom.Element;
 23  
 
 24  
 /**
 25  
  * This is a description of what this class does - sambitpatnaik don't forget to
 26  
  * fill this in.
 27  
  * 
 28  
  * @author Kuali Student Team (sambitpatnaik)
 29  
  */
 30  
 @XmlAccessorType(XmlAccessType.FIELD)
 31  
 @XmlType(name = "RequestOptionInfo", propOrder = {"id","optionKey", "optionValue", "_futureElements"})
 32  
 public class RequestOptionInfo implements RequestOption {
 33  
 
 34  
     @XmlElement
 35  
     private String id;
 36  
 
 37  
     @XmlElement
 38  
     private String optionKey;
 39  
 
 40  
     @XmlElement
 41  
     private String optionValue;
 42  
 
 43  
     @XmlAnyElement
 44  
     private List<Element> _futureElements;
 45  
 
 46  0
     public RequestOptionInfo() {
 47  0
         this.optionValue = null;
 48  0
         this.optionKey = null;
 49  0
         this._futureElements = null;
 50  0
     }
 51  
 
 52  0
     public RequestOptionInfo(RequestOption reqOp) {
 53  0
         if (null == reqOp)
 54  0
             return;
 55  
 
 56  0
         this.optionValue = reqOp.getOptionValue();
 57  0
         this.optionKey = reqOp.getOptionKey();
 58  0
         this._futureElements = null;
 59  0
     }
 60  
 
 61  
     public void setOptionValue(String optionValue) {
 62  0
         this.optionValue = optionValue;
 63  0
     }
 64  
 
 65  
     public String getId() {
 66  0
         return id;
 67  
     }
 68  
 
 69  
     @Override
 70  
     public String getOptionKey() {
 71  0
         return optionKey;
 72  
     }
 73  
 
 74  
     @Override
 75  
     public String getOptionValue() {
 76  0
         return optionValue;
 77  
     }
 78  
 
 79  
     public void setId(String id) {
 80  0
         this.id = id;
 81  0
     }
 82  
 
 83  
     public void setOptionKey(String optionKey) {
 84  0
         this.optionKey = optionKey;
 85  0
     }
 86  
 
 87  
 }