Coverage Report - org.kuali.rice.kim.bo.ui.PersonDocumentExternalId
 
Classes in this File Line Coverage Branch Coverage Complexity
PersonDocumentExternalId
0%
0/18
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.ui;
 17  
 
 18  
 import java.util.LinkedHashMap;
 19  
 
 20  
 import javax.persistence.Column;
 21  
 import javax.persistence.Entity;
 22  
 import javax.persistence.Id;
 23  
 import javax.persistence.Table;
 24  
 
 25  
 import org.kuali.rice.kim.bo.reference.ExternalIdentifierType;
 26  
 
 27  
 /**
 28  
  * This is a description of what this class does - shyu don't forget to fill this in. 
 29  
  * 
 30  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 31  
  *
 32  
  */
 33  
 @Entity
 34  
 @Table(name = "KRIM_PND_EXT_ID_MT")
 35  0
 public class PersonDocumentExternalId extends KimDocumentBoBase{
 36  
         
 37  
         private static final long serialVersionUID = 1L;
 38  
 
 39  
         @Id
 40  
         @Column(name = "ENTITY_EXT_ID_ID")
 41  
         protected String entityExternalIdentifierId;
 42  
         
 43  
         @Column(name = "EXT_ID_TYP_CD")
 44  
         protected String externalIdentifierTypeCode;
 45  
 
 46  
         @Column(name = "EXT_ID")
 47  
         protected String externalId;
 48  
         
 49  
         protected ExternalIdentifierType externalIdentifierType;
 50  
 
 51  
         /**
 52  
          * @see org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#getEntityExternalIdentifierId()
 53  
          */
 54  
         public String getEntityExternalIdentifierId() {
 55  0
                 return entityExternalIdentifierId;
 56  
         }
 57  
 
 58  
         /**
 59  
          * @see org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#getExternalId()
 60  
          */
 61  
         public String getExternalId() {
 62  0
                 return externalId;
 63  
         }
 64  
 
 65  
         /**
 66  
          * @see org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#getExternalIdentifierTypeCode()
 67  
          */
 68  
         public String getExternalIdentifierTypeCode() {
 69  0
                 return externalIdentifierTypeCode;
 70  
         }
 71  
 
 72  
         /**
 73  
          * @see org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#setExternalId(java.lang.String)
 74  
          */
 75  
         public void setExternalId(String externalId) {
 76  0
                 this.externalId = externalId;
 77  0
         }
 78  
 
 79  
         /**
 80  
          * @see org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#setExternalIdentifierTypeCode(java.lang.String)
 81  
          */
 82  
         public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode) {
 83  0
                 this.externalIdentifierTypeCode = externalIdentifierTypeCode;
 84  0
         }
 85  
 
 86  
         /**
 87  
          * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
 88  
          */
 89  
         @SuppressWarnings("unchecked")
 90  
         @Override
 91  
         protected LinkedHashMap toStringMapper() {
 92  0
                 LinkedHashMap m = new LinkedHashMap();
 93  0
                 m.put( "entityExternalIdentifierId", entityExternalIdentifierId );
 94  0
                 m.put( "externalIdentifierTypeCode", externalIdentifierTypeCode );
 95  0
                 m.put( "externalId", externalId );                
 96  0
                 return m;
 97  
         }
 98  
 
 99  
         public void setEntityExternalIdentifierId(String entityExternalIdentifierId) {
 100  0
                 this.entityExternalIdentifierId = entityExternalIdentifierId;
 101  0
         }
 102  
 
 103  
         public ExternalIdentifierType getExternalIdentifierType() {
 104  0
                 return this.externalIdentifierType;
 105  
         }
 106  
 
 107  
         public void setExternalIdentifierType(ExternalIdentifierType externalIdentifierType) {
 108  0
                 this.externalIdentifierType = externalIdentifierType;
 109  0
         }
 110  
 
 111  
 }