001 /**
002 * Copyright 2005-2012 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.rice.kim.bo.ui;
017
018 import org.kuali.rice.kim.impl.identity.external.EntityExternalIdentifierTypeBo;
019
020 /**
021 * This is a description of what this class does - shyu don't forget to fill this in.
022 *
023 * @author Kuali Rice Team (rice.collab@kuali.org)
024 *
025 */
026 /*
027 @IdClass(PersonDocumentExternalIdId.class)
028 @Entity
029 @Table(name = "KRIM_PND_EXT_ID_MT") */
030 public class PersonDocumentExternalId extends KimDocumentBoBase{
031
032 private static final long serialVersionUID = 1L;
033
034 /* @Id
035 @Column(name = "ENTITY_EXT_ID_ID") */
036 protected String entityExternalIdentifierId;
037
038 //@Column(name = "EXT_ID_TYP_CD")
039 protected String externalIdentifierTypeCode;
040
041 //@Column(name = "EXT_ID")
042 protected String externalId;
043
044 protected EntityExternalIdentifierTypeBo externalIdentifierType;
045
046 /**
047 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getEntityExternalIdentifierId()
048 */
049 public String getEntityExternalIdentifierId() {
050 return entityExternalIdentifierId;
051 }
052
053 /**
054 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getExternalId()
055 */
056 public String getExternalId() {
057 return externalId;
058 }
059
060 /**
061 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#getExternalIdentifierTypeCode()
062 */
063 public String getExternalIdentifierTypeCode() {
064 return externalIdentifierTypeCode;
065 }
066
067 /**
068 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#setExternalId(java.lang.String)
069 */
070 public void setExternalId(String externalId) {
071 this.externalId = externalId;
072 }
073
074 /**
075 * @see org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierContract#setExternalIdentifierTypeCode(java.lang.String)
076 */
077 public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode) {
078 this.externalIdentifierTypeCode = externalIdentifierTypeCode;
079 }
080
081 public void setEntityExternalIdentifierId(String entityExternalIdentifierId) {
082 this.entityExternalIdentifierId = entityExternalIdentifierId;
083 }
084
085 public EntityExternalIdentifierTypeBo getExternalIdentifierType() {
086 return this.externalIdentifierType;
087 }
088
089 public void setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType) {
090 this.externalIdentifierType = externalIdentifierType;
091 }
092
093 }