Coverage Report - org.kuali.student.lum.lu.dto.FieldInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
FieldInfo
0%
0/7
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation 
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the
 5  
  * "License"); you may not use this file except in compliance with the
 6  
  * License. You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 13  
  * implied. See the License for the specific language governing
 14  
  * permissions and limitations under the License.
 15  
  */
 16  
 
 17  
 package org.kuali.student.lum.lu.dto;
 18  
 
 19  
 import org.kuali.student.core.dto.Idable;
 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 java.io.Serializable;
 26  
 
 27  
 
 28  
 /**
 29  
  * Key/value pair, typically used for information which may vary from
 30  
  * the common set of information provided about an object.
 31  
  *
 32  
  * @Author Kamal
 33  
  * @Since Mon Jan 11 15:21:23 PST 2010
 34  
  */
 35  
 
 36  
 @XmlAccessorType(XmlAccessType.FIELD)
 37  0
 public class FieldInfo implements Serializable, Idable {
 38  
 
 39  
     private static final long serialVersionUID = 1L;
 40  
 
 41  
     @XmlElement
 42  
     private String value;
 43  
 
 44  
     @XmlAttribute(name = "key")
 45  
     private String id;
 46  
 
 47  
 
 48  
     /**
 49  
      * The value for this field.
 50  
      */
 51  
 
 52  
     public String getValue() {
 53  0
         return value;
 54  
     }
 55  
 
 56  
     public void setValue(String value) {
 57  0
         this.value = value;
 58  0
     }
 59  
 
 60  
 
 61  
     /**
 62  
      * The identifier for this field.
 63  
      */
 64  
 
 65  
     public String getId() {
 66  0
         return id;
 67  
     }
 68  
 
 69  
     public void setId(String id) {
 70  0
         this.id = id;
 71  0
     }
 72  
 }