| 1 |  |  package org.kuali.student.lum.lu.bo; | 
  | 2 |  |   | 
  | 3 |  |  import java.util.ArrayList; | 
  | 4 |  |  import java.util.List; | 
  | 5 |  |   | 
  | 6 |  |  import javax.persistence.CascadeType; | 
  | 7 |  |  import javax.persistence.JoinColumn; | 
  | 8 |  |  import javax.persistence.JoinTable; | 
  | 9 |  |  import javax.persistence.ManyToMany; | 
  | 10 |  |   | 
  | 11 |  |  import org.kuali.student.core.bo.KsBusinessObjectBase; | 
  | 12 |  |   | 
  | 13 |  |  public class CluAccounting extends KsBusinessObjectBase { | 
  | 14 |  |   | 
  | 15 |  |      private static final long serialVersionUID = -4881851636576178331L; | 
  | 16 |  |       | 
  | 17 |  |      @ManyToMany(cascade=CascadeType.ALL) | 
  | 18 |  |      @JoinTable(name = "KSLU_CLU_ACCT_JN_AFFIL_ORG", joinColumns = @JoinColumn(name = "CLU_ACCT_ID"), inverseJoinColumns = @JoinColumn(name = "AFFIL_ORG_ID")) | 
  | 19 |  |      private List<AffiliatedOrg> affiliatedOrgs; | 
  | 20 |  |   | 
  | 21 |  |       | 
  | 22 | 0 |      public CluAccounting() { | 
  | 23 | 0 |          affiliatedOrgs = new ArrayList<AffiliatedOrg>(); | 
  | 24 | 0 |      } | 
  | 25 |  |       | 
  | 26 |  |       | 
  | 27 |  |      public List<AffiliatedOrg> getAffiliatedOrgs() { | 
  | 28 | 0 |          return affiliatedOrgs; | 
  | 29 |  |      } | 
  | 30 |  |   | 
  | 31 |  |      public void setAffiliatedOrgs(List<AffiliatedOrg> affiliatedOrgs) { | 
  | 32 | 0 |          this.affiliatedOrgs = affiliatedOrgs; | 
  | 33 | 0 |      } | 
  | 34 |  |   | 
  | 35 |  |  } |