1 /** 2 * Copyright 2005-2011 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 org.kuali.rice.kim.impl.identity.external.EntityExternalIdentifierTypeBo; 19 20 /** 21 * This is a description of what this class does - shyu don't forget to fill this in. 22 * 23 * @author Kuali Rice Team (rice.collab@kuali.org) 24 * 25 */ 26 /* 27 @IdClass(PersonDocumentExternalIdId.class) 28 @Entity 29 @Table(name = "KRIM_PND_EXT_ID_MT") */ 30 public class PersonDocumentExternalId extends KimDocumentBoBase{ 31 32 private static final long serialVersionUID = 1L; 33 34 /* @Id 35 @Column(name = "ENTITY_EXT_ID_ID") */ 36 protected String entityExternalIdentifierId; 37 38 //@Column(name = "EXT_ID_TYP_CD") 39 protected String externalIdentifierTypeCode; 40 41 //@Column(name = "EXT_ID") 42 protected String externalId; 43 44 protected EntityExternalIdentifierTypeBo externalIdentifierType; 45 46 /** 47 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getEntityExternalIdentifierId() 48 */ 49 public String getEntityExternalIdentifierId() { 50 return entityExternalIdentifierId; 51 } 52 53 /** 54 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getExternalId() 55 */ 56 public String getExternalId() { 57 return externalId; 58 } 59 60 /** 61 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getExternalIdentifierTypeCode() 62 */ 63 public String getExternalIdentifierTypeCode() { 64 return externalIdentifierTypeCode; 65 } 66 67 /** 68 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#setExternalId(java.lang.String) 69 */ 70 public void setExternalId(String externalId) { 71 this.externalId = externalId; 72 } 73 74 /** 75 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#setExternalIdentifierTypeCode(java.lang.String) 76 */ 77 public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode) { 78 this.externalIdentifierTypeCode = externalIdentifierTypeCode; 79 } 80 81 public void setEntityExternalIdentifierId(String entityExternalIdentifierId) { 82 this.entityExternalIdentifierId = entityExternalIdentifierId; 83 } 84 85 public EntityExternalIdentifierTypeBo getExternalIdentifierType() { 86 return this.externalIdentifierType; 87 } 88 89 public void setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType) { 90 this.externalIdentifierType = externalIdentifierType; 91 } 92 93 }