|  1 |     | 
     | 
  |  2 |     | 
     | 
  |  3 |     | 
     | 
  |  4 |     | 
     | 
  |  5 |     | 
     | 
  |  6 |     | 
     | 
  |  7 |     | 
     | 
  |  8 |     | 
     | 
  |  9 |     | 
     | 
  |  10 |     | 
     | 
  |  11 |     | 
     | 
  |  12 |     | 
     | 
  |  13 |     | 
     | 
  |  14 |     | 
     | 
  |  15 |     | 
     | 
  |  16 |     | 
   package org.kuali.student.r2.core.class1.enumerationmanagement.model;  | 
  |  17 |     | 
     | 
  |  18 |     | 
   import javax.persistence.Entity;  | 
  |  19 |     | 
   import javax.persistence.JoinColumn;  | 
  |  20 |     | 
   import javax.persistence.ManyToOne;  | 
  |  21 |     | 
   import javax.persistence.Table;  | 
  |  22 |     | 
     | 
  |  23 |     | 
   import org.kuali.student.r2.common.entity.BaseAttributeEntity;  | 
  |  24 |     | 
   import org.kuali.student.r2.common.infc.Attribute;  | 
  |  25 |     | 
     | 
  |  26 |    0 |    @Entity  | 
  |  27 |     | 
   @Table(name = "KSEN_ENUM_ATTR")  | 
  |  28 |     | 
   public class EnumerationAttributeEntity extends BaseAttributeEntity<EnumerationEntity> { | 
  |  29 |     | 
     | 
  |  30 |     | 
       @ManyToOne  | 
  |  31 |     | 
       @JoinColumn(name = "OWNER")  | 
  |  32 |     | 
       private EnumerationEntity owner;  | 
  |  33 |     | 
     | 
  |  34 |    0 |        public EnumerationAttributeEntity () { | 
  |  35 |    0 |        }  | 
  |  36 |     | 
         | 
  |  37 |     | 
       public EnumerationAttributeEntity(Attribute att, EnumerationEntity owner) { | 
  |  38 |    0 |            super(att);  | 
  |  39 |    0 |            setOwner(owner);  | 
  |  40 |    0 |        }  | 
  |  41 |     | 
     | 
  |  42 |     | 
       @Override  | 
  |  43 |     | 
       public void setOwner(EnumerationEntity owner) { | 
  |  44 |    0 |            this.owner = owner;  | 
  |  45 |     | 
             | 
  |  46 |    0 |        }  | 
  |  47 |     | 
     | 
  |  48 |     | 
       @Override  | 
  |  49 |     | 
       public EnumerationEntity getOwner() { | 
  |  50 |    0 |            return owner;  | 
  |  51 |     | 
       }  | 
  |  52 |     | 
     | 
  |  53 |     | 
   }  |