Coverage Report - org.kuali.student.r2.lum.lu.dto.LuCodeInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
LuCodeInfo
0%
0/11
N/A
1
 
 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.r2.lum.lu.dto;
 17  
 
 18  
 import java.io.Serializable;
 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.XmlAnyElement;
 24  
 import javax.xml.bind.annotation.XmlElement;
 25  
 import javax.xml.bind.annotation.XmlType;
 26  
 
 27  
 import org.w3c.dom.Element;
 28  
 
 29  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 30  
 import org.kuali.student.r2.lum.lu.infc.LuCode;
 31  
 
 32  
 /**
 33  
  * Detailed information about learning unit codes.
 34  
  */
 35  
 @XmlAccessorType(XmlAccessType.FIELD)
 36  
 @XmlType(name = "LuCodeInfo", propOrder = { "id", "typeKey", "stateKey", 
 37  
                 "name", "descr", "value", 
 38  
                 "meta", "attributes", "_futureElements" })
 39  
 public class LuCodeInfo extends IdEntityInfo implements LuCode, Serializable {
 40  
 
 41  
     private static final long serialVersionUID = 1L;
 42  
 
 43  
     @XmlElement
 44  
     private String value;
 45  
     
 46  
     @XmlAnyElement
 47  
     private List<Element> _futureElements;
 48  
 
 49  
 
 50  
     public LuCodeInfo() {
 51  0
         super();
 52  0
         value = null;
 53  0
         _futureElements = null;
 54  0
     }
 55  
 
 56  
     public LuCodeInfo(LuCode luCode) {
 57  0
         super(luCode);
 58  0
         this.value = luCode.getValue();
 59  0
         _futureElements = null;
 60  0
     }
 61  
         
 62  
     public String getValue() {
 63  0
         return value;
 64  
     }
 65  
     
 66  
     public void setValue(String value) {
 67  0
         this.value = value;
 68  0
     }
 69  
 }