Coverage Report - org.kuali.rice.kim.bo.entity.dto.KimEntityNamePrincipalNameInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimEntityNamePrincipalNameInfo
0%
0/7
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2008 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.bo.entity.dto;
 17  
 
 18  
 import org.kuali.rice.kim.api.identity.name.EntityName;
 19  
 import org.kuali.rice.kim.bo.entity.KimEntityNamePrincipalName;
 20  
 
 21  
 /**
 22  
  * DTO to be used for caching default EntityNames with the PrincipalId
 23  
  * 
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  *
 26  
  */
 27  0
 public class KimEntityNamePrincipalNameInfo implements KimEntityNamePrincipalName {
 28  
 
 29  
         protected EntityName defaultEntityName;
 30  
         protected String principalName;
 31  
         
 32  
         /**
 33  
          * {@inheritDoc} 
 34  
          * @see org.kuali.rice.kim.bo.entity.KimEntityNamePrincipalName#getDefaultEntityName()
 35  
          */
 36  
         public EntityName getDefaultEntityName() {
 37  0
                 return defaultEntityName;
 38  
         }
 39  
         
 40  
         /**
 41  
          * @param defaultEntityName the defaultEntityName to set
 42  
          */
 43  
         public void setDefaultEntityName(EntityName defaultEntityName) {
 44  0
                 this.defaultEntityName = defaultEntityName;
 45  0
         }
 46  
         
 47  
         /**
 48  
          * {@inheritDoc} 
 49  
          * @see org.kuali.rice.kim.bo.entity.KimEntityNamePrincipalName#getPrincipalName()
 50  
          */
 51  
         public String getPrincipalName() {
 52  0
                 return principalName;
 53  
         }
 54  
         
 55  
         /**
 56  
          * @param principalName the principalName to set
 57  
          */
 58  
         public void setPrincipalName(String principalName) {
 59  0
                 this.principalName = principalName;
 60  0
         }
 61  
 }