|  1 |     | 
     | 
  |  2 |     | 
     | 
  |  3 |     | 
     | 
  |  4 |     | 
     | 
  |  5 |     | 
     | 
  |  6 |     | 
     | 
  |  7 |     | 
     | 
  |  8 |     | 
     | 
  |  9 |     | 
     | 
  |  10 |     | 
     | 
  |  11 |     | 
     | 
  |  12 |     | 
     | 
  |  13 |     | 
     | 
  |  14 |     | 
     | 
  |  15 |     | 
     | 
  |  16 |     | 
   package org.kuali.rice.kim.bo.entity.impl;  | 
  |  17 |     | 
     | 
  |  18 |     | 
   import org.kuali.rice.kim.bo.entity.KimEntityAffiliation;  | 
  |  19 |     | 
   import org.kuali.rice.kim.bo.reference.AffiliationType;  | 
  |  20 |     | 
   import org.kuali.rice.kim.bo.reference.impl.AffiliationTypeImpl;  | 
  |  21 |     | 
     | 
  |  22 |     | 
   import javax.persistence.*;  | 
  |  23 |     | 
     | 
  |  24 |     | 
     | 
  |  25 |     | 
     | 
  |  26 |     | 
     | 
  |  27 |     | 
   @Entity  | 
  |  28 |     | 
   @Table(name = "KRIM_ENTITY_AFLTN_T")  | 
  |  29 |    0 |    public class KimEntityAffiliationImpl extends KimDefaultableEntityDataBase implements KimEntityAffiliation { | 
  |  30 |     | 
     | 
  |  31 |     | 
           private static final long serialVersionUID = 1L;  | 
  |  32 |     | 
     | 
  |  33 |     | 
           @Id  | 
  |  34 |     | 
           @Column(name = "ENTITY_AFLTN_ID")  | 
  |  35 |     | 
           protected String entityAffiliationId;  | 
  |  36 |     | 
     | 
  |  37 |     | 
           @Column(name = "ENTITY_ID")  | 
  |  38 |     | 
           protected String entityId;  | 
  |  39 |     | 
     | 
  |  40 |     | 
           @Column(name = "AFLTN_TYP_CD")  | 
  |  41 |     | 
           protected String affiliationTypeCode;  | 
  |  42 |     | 
     | 
  |  43 |     | 
           @Column(name = "CAMPUS_CD")  | 
  |  44 |     | 
           protected String campusCode;  | 
  |  45 |     | 
     | 
  |  46 |     | 
           @ManyToOne(targetEntity=AffiliationTypeImpl.class, fetch=FetchType.EAGER, cascade = {}) | 
  |  47 |     | 
           @JoinColumn(name = "AFLTN_TYP_CD", insertable = false, updatable = false)  | 
  |  48 |     | 
           protected AffiliationType affiliationType;  | 
  |  49 |     | 
             | 
  |  50 |     | 
           @ManyToOne(fetch=FetchType.EAGER)  | 
  |  51 |     | 
           @JoinColumn(name="ENTITY_ID",insertable=false, updatable=false)  | 
  |  52 |     | 
           protected KimEntityImpl kimEntity;  | 
  |  53 |     | 
     | 
  |  54 |     | 
             | 
  |  55 |     | 
             | 
  |  56 |     | 
     | 
  |  57 |     | 
     | 
  |  58 |     | 
             | 
  |  59 |     | 
     | 
  |  60 |     | 
     | 
  |  61 |     | 
           public String getAffiliationTypeCode() { | 
  |  62 |    0 |                    return affiliationTypeCode;  | 
  |  63 |     | 
           }  | 
  |  64 |     | 
     | 
  |  65 |     | 
             | 
  |  66 |     | 
     | 
  |  67 |     | 
     | 
  |  68 |     | 
           public String getCampusCode() { | 
  |  69 |    0 |                    return campusCode;  | 
  |  70 |     | 
           }  | 
  |  71 |     | 
     | 
  |  72 |     | 
             | 
  |  73 |     | 
     | 
  |  74 |     | 
     | 
  |  75 |     | 
           public String getEntityAffiliationId() { | 
  |  76 |    0 |                    return entityAffiliationId;  | 
  |  77 |     | 
           }  | 
  |  78 |     | 
     | 
  |  79 |     | 
             | 
  |  80 |     | 
     | 
  |  81 |     | 
     | 
  |  82 |     | 
           public void setAffiliationTypeCode(String affiliationTypeCode) { | 
  |  83 |    0 |                    this.affiliationTypeCode = affiliationTypeCode;  | 
  |  84 |    0 |            }  | 
  |  85 |     | 
     | 
  |  86 |     | 
             | 
  |  87 |     | 
     | 
  |  88 |     | 
     | 
  |  89 |     | 
           public void setCampusCode(String campusCode) { | 
  |  90 |    0 |                    this.campusCode = campusCode;  | 
  |  91 |    0 |            }  | 
  |  92 |     | 
     | 
  |  93 |     | 
           public String getEntityId() { | 
  |  94 |    0 |                    return this.entityId;  | 
  |  95 |     | 
           }  | 
  |  96 |     | 
     | 
  |  97 |     | 
           public void setEntityId(String entityId) { | 
  |  98 |    0 |                    this.entityId = entityId;  | 
  |  99 |    0 |            }  | 
  |  100 |     | 
     | 
  |  101 |     | 
           public AffiliationType getAffiliationType() { | 
  |  102 |    0 |                    return this.affiliationType;  | 
  |  103 |     | 
           }  | 
  |  104 |     | 
     | 
  |  105 |     | 
           public void setAffiliationType(AffiliationType affiliationType) { | 
  |  106 |    0 |                    this.affiliationType = affiliationType;  | 
  |  107 |    0 |            }  | 
  |  108 |     | 
     | 
  |  109 |     | 
           public void setEntityAffiliationId(String entityAffiliationId) { | 
  |  110 |    0 |                    this.entityAffiliationId = entityAffiliationId;  | 
  |  111 |    0 |            }  | 
  |  112 |     | 
     | 
  |  113 |     | 
           public KimEntityImpl getKimEntity() { | 
  |  114 |    0 |                    return this.kimEntity;  | 
  |  115 |     | 
           }  | 
  |  116 |     | 
     | 
  |  117 |     | 
           public void setKimEntity(KimEntityImpl kimEntity) { | 
  |  118 |    0 |                    this.kimEntity = kimEntity;  | 
  |  119 |    0 |            }  | 
  |  120 |     | 
   }  |