Coverage Report - org.kuali.rice.core.xml.dto.AttributeEntry
 
Classes in this File Line Coverage Branch Coverage Complexity
AttributeEntry
0%
0/7
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007 Sun Microsystems, Inc.
 3  
  * All rights reserved.  You may not modify, use,
 4  
  * reproduce, or distribute this software except in
 5  
  * compliance with  the terms of the License at:
 6  
  * http://developer.sun.com/berkeley_license.html
 7  
  */
 8  
 
 9  
 
 10  
 /*
 11  
  * The contents of this file are subject to the terms
 12  
  * of the Common Development and Distribution License
 13  
  * (the "License").  You may not use this file except
 14  
  * in compliance with the License.
 15  
  *
 16  
  * You can obtain a copy of the license at
 17  
  * https://jwsdp.dev.java.net/CDDLv1.0.html
 18  
  * See the License for the specific language governing
 19  
  * permissions and limitations under the License.
 20  
  *
 21  
  * When distributing Covered Code, include this CDDL
 22  
  * HEADER in each file and include the License file at
 23  
  * https://jwsdp.dev.java.net/CDDLv1.0.html  If applicable,
 24  
  * add the following below this CDDL HEADER, with the
 25  
  * fields enclosed by brackets "[]" replaced with your
 26  
  * own identifying information: Portions Copyright [yyyy]
 27  
  * [name of copyright owner]
 28  
  */
 29  
 package org.kuali.rice.core.xml.dto;
 30  
 
 31  
 import javax.xml.bind.annotation.XmlAttribute;
 32  
 import javax.xml.bind.annotation.XmlType;
 33  
 
 34  
 import org.kuali.rice.core.xml.CoreNamespaceConstants;
 35  
 
 36  
 @XmlType(name="attributeEntry",namespace=CoreNamespaceConstants.CORE)
 37  
 public class AttributeEntry {
 38  
         @XmlAttribute
 39  
     public String value;
 40  
         @XmlAttribute
 41  
     public String key;
 42  
 
 43  0
     public AttributeEntry() {
 44  0
     }
 45  
 
 46  
     public AttributeEntry(
 47  
         String tKey,
 48  0
         String tValue) {
 49  0
         key = tKey;
 50  0
         value = tValue;
 51  0
     }
 52  
 
 53  
     public String toString() {
 54  0
         return "key=" + key + "  value=" + value;
 55  
     }
 56  
 }