| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.student.lum.lu.entity; | 
  | 17 |  |   | 
  | 18 |  |  import java.util.List; | 
  | 19 |  |   | 
  | 20 |  |  import javax.persistence.CascadeType; | 
  | 21 |  |  import javax.persistence.Entity; | 
  | 22 |  |  import javax.persistence.JoinColumn; | 
  | 23 |  |  import javax.persistence.JoinTable; | 
  | 24 |  |  import javax.persistence.ManyToMany; | 
  | 25 |  |  import javax.persistence.OneToMany; | 
  | 26 |  |  import javax.persistence.OneToOne; | 
  | 27 |  |  import javax.persistence.Table; | 
  | 28 |  |   | 
  | 29 |  |  import org.kuali.student.core.entity.AttributeOwner; | 
  | 30 |  |  import org.kuali.student.core.entity.MetaEntity; | 
  | 31 |  |   | 
  | 32 |  |  @Entity | 
  | 33 |  |  @Table(name = "KSLU_CLU_FEE") | 
  | 34 | 181 |  public class CluFee extends MetaEntity implements | 
  | 35 |  |                  AttributeOwner<CluFeeAttribute> { | 
  | 36 |  |   | 
  | 37 |  |          @ManyToMany(cascade = CascadeType.ALL) | 
  | 38 |  |          @JoinTable(name = "KSLU_CLU_FEE_JN_CLU_FEE_REC", joinColumns = @JoinColumn(name = "CLU_FEE_ID"), inverseJoinColumns = @JoinColumn(name = "CLU_FEE_REC_ID")) | 
  | 39 |  |          private List<CluFeeRecord> cluFeeRecords; | 
  | 40 |  |   | 
  | 41 |  |      @OneToOne(cascade=CascadeType.ALL) | 
  | 42 |  |      @JoinColumn(name = "RT_DESCR_ID") | 
  | 43 |  |      private LuRichText descr; | 
  | 44 |  |   | 
  | 45 |  |          @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") | 
  | 46 |  |          private List<CluFeeAttribute> attributes; | 
  | 47 |  |   | 
  | 48 |  |          public List<CluFeeAttribute> getAttributes() { | 
  | 49 | 221 |                  return attributes; | 
  | 50 |  |          } | 
  | 51 |  |   | 
  | 52 |  |          public void setAttributes(List<CluFeeAttribute> attributes) { | 
  | 53 | 62 |                  this.attributes = attributes; | 
  | 54 | 62 |          } | 
  | 55 |  |   | 
  | 56 |  |          public List<CluFeeRecord> getCluFeeRecords() { | 
  | 57 | 409 |                  return this.cluFeeRecords; | 
  | 58 |  |          } | 
  | 59 |  |   | 
  | 60 |  |          public void setCluFeeRecords(List<CluFeeRecord> cluFeeRecords) { | 
  | 61 | 26 |                  this.cluFeeRecords = cluFeeRecords; | 
  | 62 | 26 |          } | 
  | 63 |  |   | 
  | 64 |  |          public LuRichText getDescr() { | 
  | 65 | 185 |                  return descr; | 
  | 66 |  |          } | 
  | 67 |  |   | 
  | 68 |  |          public void setDescr(LuRichText descr) { | 
  | 69 | 26 |                  this.descr = descr; | 
  | 70 | 26 |          } | 
  | 71 |  |                   | 
  | 72 |  |  } |