Coverage Report - org.kuali.rice.kim.api.jaxb.StringEntityNameInfoMapEntry
 
Classes in this File Line Coverage Branch Coverage Complexity
StringEntityNameInfoMapEntry
0%
0/11
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2010 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.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 implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kim.api.jaxb;
 17  
 
 18  
 import org.kuali.rice.core.api.mo.AbstractDataTransferObject;
 19  
 import org.kuali.rice.kim.api.identity.name.EntityName;
 20  
 import org.w3c.dom.Element;
 21  
 
 22  
 import javax.xml.bind.annotation.XmlAnyElement;
 23  
 import javax.xml.bind.annotation.XmlAttribute;
 24  
 import javax.xml.bind.annotation.XmlElement;
 25  
 import java.util.Collection;
 26  
 
 27  
 public class StringEntityNameInfoMapEntry extends AbstractDataTransferObject {
 28  
         
 29  
         private static final long serialVersionUID = 1L;
 30  
         
 31  
         @XmlAttribute
 32  
         private final String key;
 33  
         
 34  
         @XmlElement(required=true)
 35  
     private final EntityName value;
 36  
 
 37  0
     @SuppressWarnings("unused")
 38  
     @XmlAnyElement
 39  
     private final Collection<Element> _futureElements = null;
 40  
 
 41  
     /**
 42  
      * Private constructor used only by JAXB.
 43  
      */
 44  0
         public StringEntityNameInfoMapEntry() {
 45  0
             key = null;
 46  0
         value = null;
 47  0
         }
 48  
 
 49  
         public StringEntityNameInfoMapEntry(String key, EntityName value) {
 50  0
             super();
 51  
             
 52  0
             this.key = key;
 53  0
             this.value = value;
 54  0
         }
 55  
 
 56  
     public String getKey() {
 57  0
         return key;
 58  
     }
 59  
 
 60  
     public EntityName getValue() {
 61  0
         return value;
 62  
     }
 63  
 }