| 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 | |
import javax.persistence.OneToOne; |
| 11 | |
|
| 12 | |
import org.kuali.student.core.bo.KsMetaBusinessObjectBase; |
| 13 | |
|
| 14 | |
public class CluFee extends KsMetaBusinessObjectBase { |
| 15 | |
|
| 16 | |
private static final long serialVersionUID = -6908845621145340914L; |
| 17 | |
|
| 18 | |
private String descriptionId; |
| 19 | |
|
| 20 | |
@OneToOne(cascade=CascadeType.ALL) |
| 21 | |
@JoinColumn(name = "RT_DESCR_ID") |
| 22 | |
private LuRichText description; |
| 23 | |
|
| 24 | |
@ManyToMany(cascade = CascadeType.ALL) |
| 25 | |
@JoinTable(name = "KSLU_CLU_FEE_JN_CLU_FEE_REC", joinColumns = @JoinColumn(name = "CLU_FEE_ID"), inverseJoinColumns = @JoinColumn(name = "CLU_FEE_REC_ID")) |
| 26 | |
private List<CluFeeRecord> cluFeeRecords; |
| 27 | |
|
| 28 | 0 | public CluFee() { |
| 29 | 0 | cluFeeRecords = new ArrayList<CluFeeRecord>(); |
| 30 | 0 | } |
| 31 | |
|
| 32 | |
|
| 33 | |
public String getDescriptionId() { |
| 34 | 0 | return descriptionId; |
| 35 | |
} |
| 36 | |
|
| 37 | |
public void setDescriptionId(String descriptionId) { |
| 38 | 0 | this.descriptionId = descriptionId; |
| 39 | 0 | } |
| 40 | |
|
| 41 | |
public LuRichText getDescription() { |
| 42 | 0 | return description; |
| 43 | |
} |
| 44 | |
|
| 45 | |
public void setDescription(LuRichText description) { |
| 46 | 0 | this.description = description; |
| 47 | 0 | } |
| 48 | |
|
| 49 | |
public List<CluFeeRecord> getCluFeeRecords() { |
| 50 | 0 | return cluFeeRecords; |
| 51 | |
} |
| 52 | |
|
| 53 | |
public void setCluFeeRecords(List<CluFeeRecord> cluFeeRecords) { |
| 54 | 0 | this.cluFeeRecords = cluFeeRecords; |
| 55 | 0 | } |
| 56 | |
|
| 57 | |
} |