001    package org.kuali.student.lum.lu.bo;
002    
003    import java.util.ArrayList;
004    import java.util.List;
005    
006    import javax.persistence.CascadeType;
007    import javax.persistence.JoinColumn;
008    import javax.persistence.JoinTable;
009    import javax.persistence.ManyToMany;
010    import javax.persistence.OneToOne;
011    
012    import org.kuali.student.core.bo.KsMetaBusinessObjectBase;
013    
014    public class CluFee extends KsMetaBusinessObjectBase {
015    
016            private static final long serialVersionUID = -6908845621145340914L;
017            
018            private String descriptionId;
019            
020            @OneToOne(cascade=CascadeType.ALL)
021        @JoinColumn(name = "RT_DESCR_ID")
022        private LuRichText description;
023            
024            @ManyToMany(cascade = CascadeType.ALL)
025            @JoinTable(name = "KSLU_CLU_FEE_JN_CLU_FEE_REC", joinColumns = @JoinColumn(name = "CLU_FEE_ID"), inverseJoinColumns = @JoinColumn(name = "CLU_FEE_REC_ID"))
026            private List<CluFeeRecord> cluFeeRecords;
027            
028            public CluFee() {
029                cluFeeRecords = new ArrayList<CluFeeRecord>();
030            }
031    
032            
033        public String getDescriptionId() {
034            return descriptionId;
035        }
036    
037        public void setDescriptionId(String descriptionId) {
038            this.descriptionId = descriptionId;
039        }
040    
041        public LuRichText getDescription() {
042            return description;
043        }
044    
045        public void setDescription(LuRichText description) {
046            this.description = description;
047        }
048    
049        public List<CluFeeRecord> getCluFeeRecords() {
050            return cluFeeRecords;
051        }
052    
053        public void setCluFeeRecords(List<CluFeeRecord> cluFeeRecords) {
054            this.cluFeeRecords = cluFeeRecords;
055        }
056    
057    }